Mac OSX / Linux Flashcards
1
Q
hostname
A
my computer’s network name
2
Q
pushd
A
push directory
3
Q
mv
A
Move a file or a directory
4
Q
cd
A
Change Directory
5
Q
export
A
export/set a new environment variable
6
Q
sudo
A
DANGER! become super user root DANGER!
7
Q
rmdir
A
remove directory
8
Q
find
A
find files
9
Q
exit
A
exit the shell
10
Q
ls
A
list directory
11
Q
cat
A
Print the whole file
12
Q
apropos
A
find what man page is appropriate
13
Q
pwd
A
print working directory
14
Q
grep
A
find things inside files
15
Q
mkdir
A
make directory
16
Q
man
A
read a manual page
17
Q
less
A
page through a file
18
Q
xargs
A
execute arguments
19
Q
cp
A
copy a file or directory
20
Q
env
A
look at your environment
21
Q
echo
A
print some arguments
22
Q
popd
A
Pop directory