Shell Commands

Remove

rm "directory-name"
  • The remove command we used for the “mini quiz” is a very useful for deleting files and directories

Make directory

mkdir "directory-name"
  • The make directory comand will create new directories while you are in the command line. We used this to create our ./nighthawk directory

List

ls
  • This will list all of the directories within your current directory.

Change directory

cd "directory-name"
  • This will change your current directory
brew install "package"
  • This will use the package manager (brew) to install different packages including ruby, python, etc.
make
  • This command is ran in the project directory and will use the Makefile to run our site locally.