Commands Flashcards
0
Q
hostname
A
Computer’s network name
1
Q
pwd
A
Print working directory
2
Q
mkdir
A
Make directory
3
Q
cd
A
Change directory
4
Q
ls
A
List directory
5
Q
rmdir
A
Remove directory
6
Q
pushd
A
Push current directory into a list for later, then changes to another directory. “Save where I am and go here”
7
Q
popd
A
Takes you back to the directory you pushed
8
Q
cp
A
Copy a file or directory
9
Q
mv
A
Move a file or directory
10
Q
cat
A
Print the whole file
11
Q
xargs
A
Execute arguments
12
Q
find
A
Find files
find STARTDIR -name “WILDCARD” - print
13
Q
grep
A
Find things inside files
Greg TEXT WILDCARD
14
Q
man
A
Read a manual page