Command Line Crash Course Notes April 2nd, 2015

  • pwd = Print Working Directory
  • hostname = Display’s your computer’s network name
  • mkdir DIRECTORY = Make directory
  • cd = Change directory
  • ls = List directory contents
  • rmdir DIRECTORY = Remove directory
  • pushd PATH = Saves current directory in memory, and takes you to the new path
  • popd = Switches back to previous directory
  • cp FILEPATH-FROM FILEPATH-TO = Copies file to new file
  • mv OLDFILE NEWFILE = Rename a file
  • cat FILE = Print whole file to Terminal
  • rm FILE = Delete file

Resources