Commands (Mac OSX) Flashcards
1
Q
pwd
A
print word directory
2
Q
hostname
A
My computer’s network name
3
Q
mkdir
A
Make directory
4
Q
cd
A
Change directory
5
Q
ls
A
List directory
6
Q
rmdir
A
Remove directory
7
Q
pushd
A
Push directory
8
Q
popd
A
Pop directory
9
Q
cp
A
Copy a file or directory
10
Q
mv
A
Move a file or directory
11
Q
less
A
page through a file
12
Q
cat
A
Print the whole file
13
Q
xargs
A
Execute arguments
14
Q
find
A
Find files
15
Q
grep
A
Find things inside files
16
Q
man
A
Read a manual page
17
Q
apropos
A
Find what man page is appropriate
18
Q
env
A
Look at your environment
19
Q
echo
A
Print some arguments
20
Q
export
A
Export/set a new environment variable
21
Q
exit
A
Exit the shell
22
Q
sudo
A
DANGER become super user root DANGER