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

Which RAID Levels supported by LVM?

5 Answers  


How do I search a whole word in vim?

0 Answers  


How do I open a port?

0 Answers  


What does grep v grep do?

0 Answers  


what is the functionality of kernel in unix architecture?

13 Answers   HCL,






hi i have directories within the directory. Now i want to copy the directory along with all directories included in it to one location by using copy command? what is the command

2 Answers   ACS, Span Systems,


can we use cat command as an editor ..???

12 Answers   TCS,


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

7 Answers  


What does pipe () return?

0 Answers  


How to copy multiple files and directories into some other directory?

4 Answers  


Name the unix command to find how many days the server has been up.

0 Answers  


Are you in or at the office?

0 Answers  


Categories