Linux Operating System Flashcards
What is the first process started by Kernal called?
init
What are processes launched by init called?
child processes
where is the init process typically stored?
/sbin/init
PID
process ID - lots of processes rely on PID
PPID
Parent process id
what is generally used to search for processes?
top and ps
free command
frees memory from processes
ps -u user –forest does what
shows a tree of processes by the user user
ps aux is?
good and adds a user and just makes it look nice? idk 5 this
/lib
dynamic libraries and also supports static files needed for the boot process.
/usr/lib
also dynamic libraries and support static files for the /usr/bin and /usr/sbin
/var/log
logging!
/etc
usually contain teh configuration files for all the programs that run on linux/unix
Where are deamons’ config files stored
in a subdir of /etc
7 layers of internet communcation?
7Application 6Presentation 5Session 4Transport 3Network 2Data link 1Physical
1Physical
literally transmits electrical signals between the hosts. It’s the network card connected to a wire
2Data Link
defines rules for accessing physical layer. Specifies how to verify data recieved from the physical layer.