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 Is the command to change a file's creation time. means one file is created at the time 15:19 then time should br changed to 14:14

8 Answers   3i Infotech, IBM,


What is shrinking file system in AIX where it actually resides?

0 Answers  


what is the difference between npar and vpar in HP-UX?

1 Answers   CSC,


What UNIX command will control the default file permissions when files are created?

4 Answers  


What does the command '$ls | wc –l > file1' do?

0 Answers  






How to create hardlinks and softlinks on files?

2 Answers  


What is the use of egrep command in unix?

0 Answers  


in UNIX,How to copy file into directory?

5 Answers  


What is the search command in unix?

0 Answers  


how to check a file system type

7 Answers   Wipro,


Which Command is Used for temprary switch User?

5 Answers   BitWise, IBM,


What is the use of cut command in unix?

0 Answers  


Categories