Created
May 8, 2017 23:29
-
-
Save arbianchi/83fee3f9c46ec2f3f0f1352185e35948 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bash / Terminal Commands | |
These are the basic commands for navigating directories in a Terminal or Git Bash window | |
Moving in directories | |
Change Directory | |
cd | |
Change to Root Directory | |
cd ~ | |
Move to One Directory Up | |
cd .. | |
View Folders and Files in the Directory | |
ls | |
Show the current Directory | |
pwd | |
File Manipulations | |
Make New File | |
touch [name of file to create] | |
Make New Folder | |
mkdir [name of directory to create] | |
Delete file | |
rm [name of file to remove] | |
Delete folder | |
rm -r [name of directory to remove] | |
Mac Only | |
Open file or folder (Mac only) | |
open [name of file] | |
Open all files and folder in current directory (Mac only) | |
open . | |
PC Only | |
Open file or folder (PC only) | |
explorer [name of file] | |
Open all files and folder in current directory (PC Only) | |
explorer . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment