Part 1 - Learning the Shell Flashcards

What is the shell?, some simple commands.

1
Q

When we say command line, are we referring to the shell?

A

yes

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

What is the shell?

A

A program that takes keyboard commands and passes them to the operating system to carry out.

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

What is the acroynm BASH stand for ?

A

Bourne Again SHell. Steve Bourne wrote the Unix shell program.

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

What is a terminal emulator?

A

Give us access to the shell via the GUI.

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

What is the shell prompt?

A

Appears when shell is ready to accept input.

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

What is the structure of the shell prompt?

A

username, working directory and a dollar sign.

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

What if the shells prompt ends in #?

A

The terminal session has super user privileges.

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

How to envoke command histroy?

A

arrow up

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

How many commands can the most Linux distros history hold?

A

up to 500

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

Does Crtl-c and Crtl- v work inside a terminal window?

A

No they dont.

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

What does date command display?

A

displays dayofweek, month, day and hr:mm:sec timezone and year

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

What does the command df display?

A

How much disk space is being used and by what

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

How do you end a terminal session?

A

exit

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

Provide a summary of a shell.

A

A shell manages the user–system interaction by prompting users for input, interpreting their input, and then handling output from the underlying operating system

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