Mac Terminal Commands Flashcards
1
Q
PWD
A
PRINT WORKING DIRECTORY
2
Q
Cd johnny
A
Change directory to johnny
3
Q
Mkdir johnny
A
Make directory johnny
4
Q
Cd ~
A
Change directory to home
5
Q
hostname
A
My computer’s network name
6
Q
Ls
A
List directory
7
Q
rmdir
A
Remove directory
8
Q
pushd
A
Push directory
9
Q
popd
A
Pop directory
10
Q
cp
A
Copy file or directory
11
Q
mv
A
Move file or directory
12
Q
Less
A
Page through a file
13
Q
cat
A
Print the whole file
14
Q
xargs
A
Execute arguments
15
Q
find
A
Find files