How do you execute a UNIX command in the background?

Answers were Sorted based on User's Feedback



How do you execute a UNIX command in the background?..

Answer / j

ending with'&'

Is This Answer Correct ?    25 Yes 3 No

How do you execute a UNIX command in the background?..

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

How do you execute a UNIX command in the background?..

Answer / linuxdemon

commandname &

eg:

gedit filename &

Is This Answer Correct ?    16 Yes 4 No

How do you execute a UNIX command in the background?..

Answer / shy

"top" command is used to view the live process of the
background.

Is This Answer Correct ?    7 Yes 4 No

How do you execute a UNIX command in the background?..

Answer / santosh

The answer is nohup <Command/Script>

Is This Answer Correct ?    4 Yes 1 No

How do you execute a UNIX command in the background?..

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

Post New Answer

More Unix Commands Interview Questions

What do know about tee command and its usage?

0 Answers  


Which unix command to make a new directory?

0 Answers  


Which command can you use to find the currently running process in unix server?

0 Answers  


How do you execute a UNIX command in the background?

6 Answers  


What happens when we execute a unix command?

0 Answers  


What does the “echo” command do?

0 Answers  


Will rm -r* removes hidden files?

10 Answers  


Which command will you use to change the permissions on file?

7 Answers  


How to identify whether a file is normal file or directory?

3 Answers  


what is the function of grep command?

4 Answers  


what is the command to get help on a UNIX terminal?

5 Answers  


Does cp command overwrite files?

0 Answers  


Categories