How do you execute a UNIX command in the background?
Answers were Sorted based on User's Feedback
Answer / c sivakumar
First give a command. After the enter key then give
control+z once doing this, process will be stop which you
executed. After that you have to give 'bg' again it will
start the process in back ground mode(bg). It is
applicable for script too. If you want to swich on to
foreground just give 'fg' fg will give background
process to foreground
| Is This Answer Correct ? | 14 Yes | 1 No |
Answer / shy
"top" command is used to view the live process of the
background.
| Is This Answer Correct ? | 7 Yes | 4 No |
Answer / tony
Then anybody tell me the below line is a background process or not?
sleep 100 &
| Is This Answer Correct ? | 3 Yes | 5 No |
How to display a file name which has zero bytes in size.
How to see unused port number in Solaris?
to list a particular line in the file
How do I search for a file in unix command?
how will you login one server's shell prompt to an another server?
5 Answers Cosmic Infotech, Perot Systems,
Write a command to display a file’s contents in various formats?
How does a user get the current date, time in UNIX?
What is nr in awk command?
What is the use of cut command in unix?
How can you copy files or directories?
in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?
How does one process we can start an executable file? How to get the PID process, which we started?