Linux Commands Part 9 - 10
Tags: linux-com-book
User accounts are defined in the
/etc/passwdfilegroups are defined in the
/etc/groupfile





chown and chgrp
chown: to change the file ownershipchgrp: to change the group
d|rwx|rwx|rwx
d : directory
1st block for user
2nd block for group (of user)
3rd block for other
numbering system : read = 4 write = 2 exec = 1
Processes
When a system starts up, the kernel initiates a few of its own activities as processes and launches a program called init
init, in turn, runs a series of shell scripts (located in /etc) called init scripts
The fact that a program can launch other programs is expressed in the process scheme as a parent process producing a child process

Information shown by top


to kill a process :
kill -signal [PID]



Last updated
Was this helpful?