Data Storage Flashcards

1
Q

Where are configuration files generally stored?

A

/etc

user data overrides generic/etc config, stored in user home location

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

Where are linked library files stored?

A

/lib
/usr/lib

referenced by binaries in:
/bin
/usr/bin

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

Where are log files stored?

A

/var/log

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

What is syslog?

A

Program that manages logs for daemons on the system

*they may have a dedicated folder

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

What is klog?

A

Logs kernel specific messages

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

What is tool can be used to view kernel log messages?

A

dmesg

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

What is the command to show a list of running programs?

A

ps

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

What is the command to show a list of running processes?

A

top

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

What is the command to show memory not being utilised?

A

free

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

What purpose does dynamic linked libraries have?

A

Programs with identical libraries (functions) will reference a central location instead of having duplicated libraries

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

Where are DNS servers stored?

A

/etc/resolv.conf

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

How do you create a symbolic link?

A

ln -s

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

What directory gets erased on boot?

A

/tmp

*/var/tmp is similar use but is persistent

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