01 Flashcards

(34 cards)

1
Q

A program that provides the user a command-line interface to the kernel.

A

Shell

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

What term describes when the kernel interrupts a task

A

Pre-emptive

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

Linuix is multi-user, multi-tasking, and ____________ to a variety of hardware platforms

A

Portable

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

What are the three classes of ownership in users in Linux considering file permissions?

A

User/Owner: Actual owner of the file

Group: Group ownership of the file or directory

Other: All other users on the system

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

What are each of the first fields in a file permission?
(__) _____ file, Text (Printable) or binary file
(__) _____ file Contains other files or directories
(__) _____ file Data is read and written in blocks using a buffer cache
(__) _____ file A Raw device. Reads and writes as a stream of characters
(__) _____ file A textual representation of the refrenced file’s path.
(__) _____ file FIFO special file. Provides bi-directional communication
(__) _____ file Used by the IPC to communicate between two proccesses

A
  • Regular File
    d Directory file
    b block file
    c character file
    l symbolic file
    p named pipe
    s Socket
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Linuix supports the ability to dynamically load and unload ________ (________________)

A

Kernel code, loadable kernel modules

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

Linux does not differentiate between ___________ and _____________

A

Threads, and a normal process

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

Linuix provides an object-oriented device model with _______________, __________________, and ___________________

A

device classes, Hot-pluggable events, user-space device file system

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

Command/tool that is the default text editor for Linux systems.

A

Vi

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

In what directory are static files required to boot the system?

A

/boot

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

What directory holds essential command binaries (e.g., cp, mkdir, ls, less)

A

/bin

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

What directory holds essential system binaries intended for super users?

A

/sbin

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

What directory holds universal system resources?

A

/usr

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

What directory holds shared libraries?

A

/lib

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

What directory holds system administration and configuration files?

A

/etc

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

What directory holds Device files (block and character).

16
Q

What directory holds users home directories?

17
Q

What directory holds optional third party software?

18
Q

What directory holds processes used by the system?

19
Q

What directory holds Root users home directory?

20
Q

What directory hold temporary files used by the system?

21
Q

What directory variable size data like that found in log files?

22
Q

What Moniker tells you the format of a crontab job?

A

MM HH DOM MM DOW
Minute Minute
Hour Hour
Day of month
Month
Day of week

23
Q

Directory permission bit that allows users to change into directories using the cd command. (The letter that represents the word)

24
What is the default umask for files/directories?
file: 666 Directory: 777
25
What is the umask value for these and their default permission settings? (-rw-r--r--) (drwxr-xr-x)
0022 (subtracted from the group and other user parameter in permissions) File 666 Directory 777
26
What is the order of permission numbers? RWX?
R=4 W=2 X=1
27
The _________ bits allow anyone to run an executable with the same privileges as the owner and/or group
SUID/GUID
28
What part of the permission set does SUID represent? And there number?
Owner 4
29
What part of the permission set does GUID represent? And their number? What's their number if both are turned on?
Group 2 6
30
What is the SUID/GUID bit for the following permission set? And what kind of file is it? -_swxrw-r--
31
What is the SUID/GUID bit for the following permission set? And what kind of file is it? -_swxrw-r-- d_-w-rws-rwx b_rsx-s---wx
file (4764) directory (2277) block device (6743)
32
What is the chmod command what does the -R option do?
modifies file and directory permissions, using -R does the same changes to everything in that directory chmod 740 Dir1/file1
33
What command lets y