01 Flashcards

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).

A

/dev

16
Q

What directory holds users home directories?

A

/home

17
Q

What directory holds optional third party software?

A

/opt

18
Q

What directory holds processes used by the system?

A

/proc

19
Q

What directory holds Root users home directory?

A

/root

20
Q

What directory hold temporary files used by the system?

A

/tmp

21
Q

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

A

/var

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)

A

x

24
Q

What is the default umask for files/directories?

A

file: 666
Directory: 777

25
Q

What is the umask value for these and their default permission settings?

(-rw-r–r–)

(drwxr-xr-x)

A

0022 (subtracted from the group and other user parameter in permissions)

File 666

Directory 777

26
Q

What is the order of permission numbers?

RWX?

A

R=4
W=2
X=1

27
Q

The _________ bits allow anyone to run an executable with the same privileges as the owner and/or group

A

SUID/GUID

28
Q

What part of the permission set does SUID represent? And there number?

A

Owner 4

29
Q

What part of the permission set does GUID represent? And their number?

What’s their number if both are turned on?

A

Group 2

6

30
Q

What is the SUID/GUID bit for the following permission set? And what kind of file is it?

-_swxrw-r–

A
31
Q

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

A

file (4764)

directory (2277)

block device (6743)

32
Q

What is the chmod command what does the -R option do?

A

modifies file and directory permissions, using -R does the same changes to everything in that directory

chmod 740 Dir1/file1

33
Q

What command lets y

A