Pages

Sunday, July 22, 2012

find pid of a process in linux

you can simply type
    pidof <programm name>
or also you can do this
    ps -aux  | grep <programm name>

you can kill the process by typing as below
kill -9 <pid>

some other important linux commands
create a simlink : ln -s <current directory> <directory to which the link should go>

providing ownership of a certain directory to a specific user

sudo chown <user name> <directory to provide ownership> -R

No comments:

Post a Comment