Working with terminal

  1. Navigation commands.
  2. Create and delete commands.

Navigation commands

  • pwd will display the current location.
  • ls will list all files in the current location.
  • cd <path> will navigate to a specified path(used without <>).
  • cd .. will navigate one layer back in the file system hierarchy.

Create and delete commands

  • mkdir <directoryName>will create a directory in the current location.
  • touch <fileName> will create a file in the current location.
  • rm -rf <filePath> will remove a file or a folder by a specified path. Note, it will not ask for confirmation and it will delete permanently. Be extremely careful while practicing.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store