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 |
What is $@ in makefile?
What is the command to find the hardware configuration in Linux?
What does c mean in linux?
Which of the Commands delete the files from the /tmp directory, issued by non-root user?
What is p in mkdir?
How do you view the contents of a file in Linux?
How do I find cpu in linux?
Which command is used to review boot messages?
Which command reduces the size of a file?
how many limitations of under directories in ext2/3 linux file system?
Difference between swap partition and swap file?
How do I test my cpu speed?