Workbook 6 Flashcards

1
Q

What are the two ways of using the bash shell?

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

Give a command line that starts a bash subshell.

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

What is the purpose of the .bashrc file and where is it found?

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

What command is used to view a user’s previously entered commands at the bash shell?

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

What happens when you enter the following command line !!?

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

What happens when you enter the following command line !2?

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

What happens when you enter the following command line !-2?

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

What happens when you enter the following command line !vi?

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

What is the name of the file to which the command history is saved upon exiting and from which it is initialized upon startup?

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