Basic Commands Flashcards
0
Q
What is the command
“hostname”?
A
my computer network name
1
Q
What is the command
“pwd”?
A
print working directory
2
Q
What is the command
“mkdir”?
A
make directory
3
Q
What is the command
“cd”?
A
change directory
4
Q
What is the command
“ls”?
A
list directory
5
Q
What is the command
“rmdir”?
A
remove directory
6
Q
What is the command
“pushd”?
A
push directory
7
Q
What is the command
“popd”?
A
pop directory
8
Q
What is the command
“cp”?
A
copy a file or directory
9
Q
What is the command
“mv”?
A
move a file or directory
10
Q
What is the command
“less”?
A
pass through a file
11
Q
What is the command
“cat”?
A
print the whole file
12
Q
What is the command
“xargs”?
A
executes argument
13
Q
What is the command
“find”?
A
find files
14
Q
What is the command
“grep”?
A
find things in file