Monday, December 8, 2014

Terminal Must-Know Commands (Mac)


Commands:
  1. clear - clear the screen
  2. pwd - present working directory
  3. ls - list all files
  4. cd - change directory
  5. cd folder_name&&ls - change directory and list all the files inside
  6. mkdir -p Dir_Name/{subDir1,subDir2} - make directory and subdirectories
  7. rm -rf file_path  - delete file permanently (not goin to trash)


Keyboard:
  1. ctrl+c or ctrl+z - to stop process in terminal

No comments:

Post a Comment