4.3 Where Data is Stored Flashcards
Data Storage
contain essential binaries for sys admin such as parted or ip
/sbin
Data Storage
contain essential binaries for all users such as ls, mv or mkdir
/bin
Data Storage
stores binaries for sys admin such as deluser or groupadd
/usr/sbin
Data Storage
includes most executable files such as
free, pstree, sudo or man - useable by all users
/usr/local/sbin
Data Storage
serves same purpose as /uar/local/sbin but for regular user programs
/user/local/bin
Data Storage
which command to find out the location of the
which swapon
output
root?
/sbin/swapon
yes
Data Storage
which command to find out the location of the
which kill
output
root?
/bin/kill
no
Data Storage
which command to find out the location of the
cut kill
output
root?
/usr/bin/cut
no
Data Storage
which command to find out the location of the
cut usermod
output
root?
/usr/sbin/usermod
Yes
Data Storage
which command to find out the location of the
cut cron
output
root?
/usr/sbin/cron
Yes
Data Storage
which command to find out the location of the
cut ps
output
root?
Data Storage
/bin/ps
No
Data Storage
where is the .bashrc file found
~
Data Storage
where is the bash.basrc file found
/etc
Data Storage
where is the passwd file found
/etc
Data Storage
where is the .profile file found
~
Data Storage
where is the resolv.conf file found
/etc
Data Storage
where is the sysctl.conf file found
/etc
Data Storage
number elements for kernel file vmlinuz-4.15.0-50-generic found in /boot
Kernel Version
4
Data Storage
number elements for kernel file vmlinuz-4.15.0-50-generic found in /boot
Major Revision
15
Data Storage
number elements for kernel file vmlinuz-4.15.0-50-generic found in /boot
Minor Revision
0
Data Storage
number elements for kernel file vmlinuz-4.15.0-50-generic found in /boot
Patch number
50
Data Storage
what command would you use to list all hard drives and partitions in /dev
ls /dev/sd*
Data Storage
old IDE drive representation
/dev/hd*
Data Storage
modern NVMe drive representation
/dev/nvme*