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

How to check the flavor of UNIX?

8 Answers   HCL, Syntel,


what is the command to print last 8 lines of any text file.

10 Answers  


how unix kernel distinguishes between a normal file and device file ?

7 Answers   Google, IBM, McAfee, Vodafone,


Why we are using UNIX OS when we are doing the testing in our application?

5 Answers   IBM,


What is the use of the command 'ls -x chapter[1-5]' ?

0 Answers  






to list a particular line in the file

5 Answers  


what does a process mean?

7 Answers   Infosys,


Explain how to use grep command to list find the records of a file containing 10 different strings?

0 Answers  


Which command will print your home directory on screen?

0 Answers  


What are the dos commands?

0 Answers  


How do I search a whole word in vim?

0 Answers  


What is the command to find maximum memory taking process on the server?

0 Answers  


Categories