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
What do chmod command do?
What is ‘ps’ command for?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
How do I delete files from command prompt?
Are you in or at the office?
What is the use of sed command in unix?
Can you explain a little bit about command substitution?
Who wrote grep?
Write a command to display a file’s contents in various formats?
What does find command return in unix?
What is $0 bash?
What are some command words?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What are the general commands in using unix os for a beginner?