Answer the question below:

a. How can you prevent a command from sending output to the terminal
when you start it in the background?
b. What can you do if you start a command in the foreground and later
decide that you want it to run in the background?


a. Redirect standard output and standard error of a command to prevent it
from sending output to the terminal:
$ prog >& prog.out &
b. To move a process from the foreground to the background, first suspend it
by typing CONTROL-Z, then move it to the background with a bg command.

Computer Science & Information Technology

You might also like to view...

Explain the difference between virtual functions, late binding, and polymorphism.

What will be an ideal response?

Computer Science & Information Technology

Which of the following is part of the vector component of a distance vector metric in routing?

A) The link B) The next hop router C) The distance D) The destination subnet

Computer Science & Information Technology

Global declarations are found in the declarations section within a function.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

For search engine optimization, limit the number of ____ in the head section to about a dozen.

A. keywords B. titles C. parameters D. indices

Computer Science & Information Technology