How does one process we can start an executable file? How to
get the PID process, which we started?

Answer Posted / hari

to start a process
chkconfig nttpd on
to restart daemon
chkconfig nttpd restart

find the pid of daemon

pidof -s processname
pidof -s nttpd
pidof -s cupsd
pidof -s httpd

Please check it

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain a little bit about command substitution?

607


What is merge command in unix?

942


Explain ‘system calls’ with respect to unix commands?

600


What is a command and examples?

583


Explain command to display different lines that are found when compare two files?

676






How can we use grep command in unix?

614


How can you see the command line history?

582


How do I use nslookup?

573


Name the unix command to find how many days the server has been up.

600


Is it inbetween or in between?

580


Is command prompt unix?

579


What are the unix commands?

557


What is grep short for?

556


Why is it called a shebang?

568


What is command substitution?

623