Skip to content

Instantly share code, notes, and snippets.

@leslie-alldridge
Created July 21, 2018 09:22
Show Gist options
  • Save leslie-alldridge/68fa82b1f2f7918dc283676b8408179b to your computer and use it in GitHub Desktop.
Save leslie-alldridge/68fa82b1f2f7918dc283676b8408179b to your computer and use it in GitHub Desktop.
Command Line
*** directories ***
pwd - display path of current working directory.
cd - current directory
ls - list all files
cd .. - up a directory
mkdir - make new directory
***
clear - clear window
***files***
rm <file> - delete <file>
rm -r <directory> - delete <directory>
mv <fileold> <filenew> - rename fileold to filenew
mv <file> <directory> - move file to directory and overwrite if it exists
touch <file> - create file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment