Linux Operating System Flashcards

(44 cards)

1
Q

What is the first process started by Kernal called?

A

init

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

What are processes launched by init called?

A

child processes

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

where is the init process typically stored?

A

/sbin/init

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

PID

A

process ID - lots of processes rely on PID

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

PPID

A

Parent process id

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

what is generally used to search for processes?

A

top and ps

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

free command

A

frees memory from processes

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

ps -u user –forest does what

A

shows a tree of processes by the user user

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

ps aux is?

A

good and adds a user and just makes it look nice? idk 5 this

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

/lib

A

dynamic libraries and also supports static files needed for the boot process.

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

/usr/lib

A

also dynamic libraries and support static files for the /usr/bin and /usr/sbin

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

/var/log

A

logging!

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

/etc

A

usually contain teh configuration files for all the programs that run on linux/unix

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

Where are deamons’ config files stored

A

in a subdir of /etc

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

7 layers of internet communcation?

A
7Application
6Presentation
5Session
4Transport
3Network
2Data link
1Physical
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

1Physical

A

literally transmits electrical signals between the hosts. It’s the network card connected to a wire

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

2Data Link

A

defines rules for accessing physical layer. Specifies how to verify data recieved from the physical layer.

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

3Network

A

Enables routing of data, spefices how to recognize addresses and the next network point to send a node.

Internet and ICMP operate on this level

19
Q

4Transport

A

sending host’s 4 recieves data and divides it into packets. The receiving provides error checking and unpacks packets and assembles the data.

20
Q

5Session

A

Responsible for establishing and maintaining a connection between two machienes

21
Q

6Presentation

A

Ensures information passingthroughout all layers is formatted corretly for 7

22
Q

7Application

A

provides applications for a way to access networiking

23
Q

TCP

A

a protocal that ensures data exchanged between two network hosts is exchanged reliably

24
Q

what two protocals are used with IP

25
ICMP stands for?
Internet Control Message Protocol.
26
ICMP is used for what?
Testing connections between hosts
27
what layers are ports accessed at
The 4Transport layer
28
20 21
FTP
29
23
Telnet
30
25
SMTP
31
80
HTTP
32
443
HTTPS
33
110
POP3
34
137 138 139
NetBIOS
35
Well-know ports
0-1023 | For well established services
36
Registered ports
1024-49151 Special Implementation Orgs can apply for a reg port number to be assigned to their service
37
Dynamic Ports
49152-65535 Available for any use by any network service usually used for temporarilly establish connections between two applications.
38
what layer does the MAC address oprate
2Data Link. | MAC address is hardcoded on the network board and cannot be changed.
39
If the last octet in an IP address is 0, what does that mean?
it is the network address. Eg 161.161.161.0. A host cannot use that IP address
40
what is the last octet of 255 reserved for
broadcast addresses.
41
Class A private IP range?
10.0.0.0 - 10.255.255.255
42
Class B private IP range?
172.16.0.0 - 172.31.255.255
43
Class C private IP range?
192.168.0.0 - 192.168.255.255
44
what are the two parts of an ipv4 addr?
Network and node(host) | network is first 3, node is final one