<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Philip</title>
    <description>The latest articles on DEV Community by Philip (@philsav2017).</description>
    <link>https://dev.to/philsav2017</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F386824%2F7bf8c691-4b34-45b3-9c4e-fb72581ec7f6.jpg</url>
      <title>DEV Community: Philip</title>
      <link>https://dev.to/philsav2017</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/philsav2017"/>
    <language>en</language>
    <item>
      <title>Useful Command line commands</title>
      <dc:creator>Philip</dc:creator>
      <pubDate>Wed, 26 May 2021 08:22:05 +0000</pubDate>
      <link>https://dev.to/philsav2017/useful-command-line-commands-36of</link>
      <guid>https://dev.to/philsav2017/useful-command-line-commands-36of</guid>
      <description>&lt;p&gt;&lt;strong&gt;pwd&lt;/strong&gt;  show directory&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ls&lt;/strong&gt;  show all files in directory&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ls -all&lt;/strong&gt;  info about files&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ls -a&lt;/strong&gt;  shows hidden files&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;clear&lt;/strong&gt;  clears screen&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;cd&lt;/strong&gt;  change directory / redirects to home&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;cd ..&lt;/strong&gt;  go backwards&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;cd -&lt;/strong&gt;  goes to prev directory&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;mkdir new-folder&lt;/strong&gt;  make a directory &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;touch new-file.txt&lt;/strong&gt;  make a new file&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;cp new-file.txt new/folder/new-file-copy.txt&lt;/strong&gt;  make a copy&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;mv new-file-copy.txt ../new-file-copy.txt&lt;/strong&gt;  moves a file&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;mv file.txt file-2.txt&lt;/strong&gt;  rename a file&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;up/down arrow keys&lt;/strong&gt;toggle prev next commands&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;rm new-file-copy.txt&lt;/strong&gt;  removes a FILE&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;rm -r new-folder&lt;/strong&gt;  deletes all files and folder&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;cat file-name.txt&lt;/strong&gt;  view whats in a file/s&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;cat file1.txt file2.txt &amp;gt; file3.txt&lt;/strong&gt;  concatenates two files&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;gt;&lt;/strong&gt;  pipes content into a file or over rides&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;echo Hi&lt;/strong&gt;  prints HI&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;echo Hi &amp;gt;&amp;gt; file3.txt&lt;/strong&gt;  HI gets added to end of the file content&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;man&lt;/strong&gt;  provides documentation eg man ls&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;nano&lt;/strong&gt;  manage file content / file editor&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ctrl + c&lt;/strong&gt;  exits process&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
