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
~