4.3 Where Data is Stored Flashcards

1
Q

Data Storage

contain essential binaries for sys admin such as parted or ip

A

/sbin

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

Data Storage

contain essential binaries for all users such as ls, mv or mkdir

A

/bin

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

Data Storage

stores binaries for sys admin such as deluser or groupadd

A

/usr/sbin

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

Data Storage

includes most executable files such as
free, pstree, sudo or man - useable by all users

A

/usr/local/sbin

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

Data Storage

serves same purpose as /uar/local/sbin but for regular user programs

A

/user/local/bin

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

Data Storage

which command to find out the location of the

which swapon

output

root?

A

/sbin/swapon

yes

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

Data Storage

which command to find out the location of the

which kill

output

root?

A

/bin/kill

no

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

Data Storage

which command to find out the location of the

cut kill

output

root?

A

/usr/bin/cut

no

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

Data Storage

which command to find out the location of the

cut usermod

output

root?

A

/usr/sbin/usermod

Yes

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

Data Storage

which command to find out the location of the

cut cron

output

root?

A

/usr/sbin/cron

Yes

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

Data Storage

which command to find out the location of the

cut ps

output

root?

A

Data Storage

/bin/ps

No

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

Data Storage

where is the .bashrc file found

A

~

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

Data Storage

where is the bash.basrc file found

A

/etc

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

Data Storage

where is the passwd file found

A

/etc

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

Data Storage

where is the .profile file found

A

~

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

Data Storage

where is the resolv.conf file found

17
Q

Data Storage

where is the sysctl.conf file found

18
Q

Data Storage

number elements for kernel file vmlinuz-4.15.0-50-generic found in /boot

Kernel Version

19
Q

Data Storage

number elements for kernel file vmlinuz-4.15.0-50-generic found in /boot

Major Revision

20
Q

Data Storage

number elements for kernel file vmlinuz-4.15.0-50-generic found in /boot

Minor Revision

21
Q

Data Storage

number elements for kernel file vmlinuz-4.15.0-50-generic found in /boot

Patch number

22
Q

Data Storage

what command would you use to list all hard drives and partitions in /dev

A

ls /dev/sd*

23
Q

Data Storage

old IDE drive representation

24
Q

Data Storage

modern NVMe drive representation

A

/dev/nvme*

25
Data Storage compare contents of /proc/meminfo to the output of the free command free output /proc/meminfo field
total MemTotal/SwapTotal
26
Data Storage compare contents of /proc/meminfo to the output of the total command free output /proc/meminfo field
free MemFree/SwapFree
27
Data Storage compare contents of /proc/meminfo to the output of the shared command free output /proc/meminfo field
shared Shmem
28
Data Storage compare contents of /proc/meminfo to the output of the buff/cache command free output /proc/meminfo field
buff/cache Buffers, Cached and SReclaimable
29
Data Storage compare contents of /proc/meminfo to the output of the available command free output /proc/meminfo field
available MemAvailable
30
Data Storage Every process has a unique identifier
PID
31
Data Storage parent process identifier
PPID
32
Data Storage command to dynamically and interactively explore the running processes of the tystem
top
33
Data Storage print kernel ring buffer
dmesg
34
Data Storage query the systemd journal
journalctl