Lecture 2 - Linux through the shell Flashcards

1
Q

Windows and Linux both use what kind of kernel?

A

Monolithic

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

Is the user interface in linux part of the operating system?

A

No - separate

Can be command line - shell

or gui - GNOME, KDE, Unity

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

What is a shell?

A

A program on top of kernel

Provides basic human interface

text based command line interpreter

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

How are shell, gui and kernel related?

A

Usually GUI and shell on top of kernel

used to be gui on shell on kernel

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

What characters should not be used in filenames?

A

”.” at start

”-“ at start

spaces or control characters anywhere

Special characters

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

What does the -a qualifier do with the ls command?

A

Includes hidden files (dotfiles)

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

What is a bash script?

A

file containing line by line bash commands

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