Introduction to

Linux Commands

Commands Lines

  1. pwd : shows present folder where you are working
    $pwd
  2. ls : List all the folders
    $ls
  3. mkdir: Create a new Folder
    $mkdir Folder1​
  4. cd : Goes to the Folder
    $cd​

Command Lines

  1. touch : Create a new file
    $ touch a.txt
  2. cat :Print the content in a file
    $ cat a.txt
  3. mv : Moves a file from one location to another
    $ mv filename foldername
  4. rm : Deletes a file or folder.
    $ rm Folder1

deck

By haritha28

deck

  • 1,316