. How will we run a process in background? How will we bring that into foreground and how will you kill that process?

Answer

For running a process in background use "&" in command line. For bringing it back in foreground use command "fg jobid" and for getting job id we use command "jobs", for killing that process find PID and use kill -9 PID command. This is indeed a good Unix Command interview questions because many of programmer not familiar with background process in UNIX.

All unix Questions

Ask your interview questions on unix

Write Your comment or Questions if you want the answers on unix from unix Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---