Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 561 Bytes

File metadata and controls

33 lines (22 loc) · 561 Bytes

Bash Commands

  1. What is the command to create a file? touch

  2. What is a command to create a folder? mkdir

  3. What is the command to delete a file? rm

  4. What is the command to delete a folder? rm -rf ./dir

  5. What is the command to move a file? mv

  6. What is the command to copy a file? cp

  7. What is the command to go up one directory? cd ../

  8. What is the command to list the files in a directory? ls

ls -la

  1. What is the command to see what directory you are currently in? pwd

  2. What would typing history do? history of all your commands