Basic Linux/Mac OSX Flashcards
1
Q
pwd
A
print working directory
2
Q
hostname
A
my computer’s network name
3
Q
mkdir
A
make directrory
4
Q
cd
A
change directory
5
Q
ls
A
lists contents of the directory
6
Q
rmdir
A
remove directory
7
Q
pushd
A
push directory
“Save where I am, then go here.”
8
Q
popd
A
pop directory
“takes the last directory you pushed and “pops” it off, taking you back there.”
9
Q
cp
A
copy a file or directory
10
Q
mv
A
move “rename” 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 of files