what is the command to make a process to run in the
background from foreground?
Answers were Sorted based on User's Feedback
Answer / monajk
To make the command run in the background suppose the
command is "command_name" then the syntax for the same will
be such as follows;
[root@neo root]# command_name &
| Is This Answer Correct ? | 17 Yes | 3 No |
Answer / uday kiran
when the process is running, press "control+Z" . Now at the
command prompt , type "bg"
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / susheel narayan singh hcl
if you want to run the process in background
then press ctrl+z
it will go on background
and you can see this by this cmd
#bg
but if you want in foreground
you use this cmd
#fg
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / tejal dave
run jobs command and show background process
and then type command fg % job no to which job no is foreground
like
ping 192.168.0.254
stop this process via ctrl Z
and type fg % jobno and than foreground process
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / amit kumar ghosh
Process always runs in background of system,it is run by the
system itself,we can run process with cmd but there is no any
cmd which can bring process to run in foreground.
| Is This Answer Correct ? | 2 Yes | 9 No |
Explain the ‘ls’ command in linux
What does rmdir do in linux?
What are system commands?
Why makefile is used in linux?
some one is asking my machine is slow what is your steps?
what is linux utilities and editor
how to restart apache server with out shatdown?
How would you find whether a remote server is up or not?
What is the most graceful way to get to run level single user mode?
How remove all files in a directory linux?
Which priority has the process?how do u view?
What is c++ makefile?