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 |
Please send Security on linux related questions and answers.
what is user mode & kernel mode?
our wish to print the file vacations with 60 lines to a page. Which command will accomplish this?
What is the status code 403,404 represented in apache server?
What is ulimit in linux?
what r the different command to check ram,process and hdd of linux machine
What is the use of mv command in linux?
Write a command to find all of the files which have been accessed within the last 30 days.
How does grep work in linux?
How to reset root password via command Redhat 5.2
What is $@ in bash?
What are the basic dos commands?