Terminal Commands Flashcards
ls
List content of current directory(folder)
start .
Opens that directory(folder)
ls Pictures
This will list things inside specific directory(folder)
clear
This will reset the terminal back to new
ls/Pictures/All
List the path of a specific folder
pwd
Print Working Directory
/Users/Docum/Term
prints the path to the current directory
cd Documents
This will bring you to the announced directory
**cd .. **
Will bring you backwards to the directory before
touch blue.txt
This will create a file in the current directory you are in
mkdir Plants
This will create a new folder in the current directory you are in
mkdir Seaturtles Landturtles
This will create two folders in the current directory
rm purple.txt
This will perm delete the file
rm -rf Plants
This will perm delete a directory
ls -a
This will list all in current directory including hidden files
ls -a
This will show All and hidden directory