Data Storage Flashcards
Where are configuration files generally stored?
/etc
user data overrides generic/etc config, stored in user home location
Where are linked library files stored?
/lib
/usr/lib
referenced by binaries in:
/bin
/usr/bin
Where are log files stored?
/var/log
What is syslog?
Program that manages logs for daemons on the system
*they may have a dedicated folder
What is klog?
Logs kernel specific messages
What is tool can be used to view kernel log messages?
dmesg
What is the command to show a list of running programs?
ps
What is the command to show a list of running processes?
top
What is the command to show memory not being utilised?
free
What purpose does dynamic linked libraries have?
Programs with identical libraries (functions) will reference a central location instead of having duplicated libraries
Where are DNS servers stored?
/etc/resolv.conf
How do you create a symbolic link?
ln -s
What directory gets erased on boot?
/tmp
*/var/tmp is similar use but is persistent