How do you execute a UNIX command in the background?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is {} in find command?

575


Explain mount and unmount command.

607


What are some command words?

554


Who command in unix?

564


What is grep command in unix with examples?

604






Explain the steps that a shell follows while processing a command.

678


What does touch command do in unix?

719


Is command prompt unix?

574


What are reported commands?

560


Enlist some filename manipulation commands in unix.

544


What are bash commands?

587


Is ‘du’ a command? If so, what is its use?

626


Which command will print your home directory on screen?

538


Explain command to view process running?

609


Are you in or at the office?

608