Basic Commands Flashcards

0
Q

What is the command

“hostname”?

A

my computer network name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

What is the command

“pwd”?

A

print working directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the command

“mkdir”?

A

make directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the command

“cd”?

A

change directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the command

“ls”?

A

list directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the command

“rmdir”?

A

remove directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the command

“pushd”?

A

push directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the command

“popd”?

A

pop directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the command

“cp”?

A

copy a file or directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the command

“mv”?

A

move a file or directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the command

“less”?

A

pass through a file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the command

“cat”?

A

print the whole file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the command

“xargs”?

A

executes argument

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the command

“find”?

A

find files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the command

“grep”?

A

find things in file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the command

“man”?

A

read a manual page

16
Q

What is the command

“apropos”?

A

find appropriate man page

17
Q

What is the command

“env”?

A

look at your environment

18
Q

What is the command

“echo”?

A

prints some arguments

19
Q

What is the command

“export”?

A

export/set a new environment variable

20
Q

What is the command

“exit”?

A

exit the shell

21
Q

What is the command

“sudo”?

A

DANGER! become super user root DANGER!

22
Q

What is the command

“chmod”?

A

change permission modifiers

23
Q

What is the command

“chown”?

A

change ownership