Getting Started Flashcards

1
Q

What is the command to remove a directory and the files it contains?

A

rm -rf

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

What is the command to display a banner in the terminal?

A

banner [word]

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

What is the command to see which user is currently connected to the system?

A

who

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

What is the shortcut to see the list of command starting by a specific string?

A

[command] and pressing twice the TAB key

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

What are the commands to research a command that contains a particular string?

A

man -k [string] and apropos [string]

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

What is the command to display a little bit of information about a command?

A

whatis

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

What are internal commands?

A

They’re built-in commands of the shell

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

What are external commands?

A

They requiered to be installed.

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

What is the command to clear the history of commands?

A

history -c

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