Linux Operating System Flashcards

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

A

TCP and UDP

25
Q

ICMP stands for?

A

Internet Control Message Protocol.

26
Q

ICMP is used for what?

A

Testing connections between hosts

27
Q

what layers are ports accessed at

A

The 4Transport layer

28
Q

20 21

A

FTP

29
Q

23

A

Telnet

30
Q

25

A

SMTP

31
Q

80

A

HTTP

32
Q

443

A

HTTPS

33
Q

110

A

POP3

34
Q

137 138 139

A

NetBIOS

35
Q

Well-know ports

A

0-1023

For well established services

36
Q

Registered ports

A

1024-49151
Special Implementation
Orgs can apply for a reg port number to be assigned to their service

37
Q

Dynamic Ports

A

49152-65535
Available for any use by any network service
usually used for temporarilly establish connections between two applications.

38
Q

what layer does the MAC address oprate

A

2Data Link.

MAC address is hardcoded on the network board and cannot be changed.

39
Q

If the last octet in an IP address is 0, what does that mean?

A

it is the network address. Eg 161.161.161.0. A host cannot use that IP address

40
Q

what is the last octet of 255 reserved for

A

broadcast addresses.

41
Q

Class A private IP range?

A

10.0.0.0 - 10.255.255.255

42
Q

Class B private IP range?

A

172.16.0.0 - 172.31.255.255

43
Q

Class C private IP range?

A

192.168.0.0 - 192.168.255.255

44
Q

what are the two parts of an ipv4 addr?

A

Network and node(host)

network is first 3, node is final one