adplus-dvertising
frame-decoration

Question

What will the output of the following command?

$ ps -t dev/console

a.

processes running on terminal named console

b.

undefined output

c.

erroneous

d.

processes running on the current terminal

Posted under Jobs and Processes UNIX

Answer: (a).processes running on terminal named console

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will the output of the following command? $ ps -t dev/console

Similar Questions

Discover Related MCQs

Q. There are ___ distinct phases of a process.

Q. A system call is a programmatic way in which the program requests for the service from the kernel of an operating system.

Q. Which of the following system call is used for creating a new process?

Q. When fork() is invoked, the child process created gets a new PID.

Q. What is the value returned by fork system call, when the creation of child process is unsuccessful?

Q. Which system call is used to run a new program?

Q. It is necessary to terminate the command line with &, even when we are using nohup command.

Q. Which of the following shell(s) allows the user to run jobs in the background even when the user has logged out (without using nohup command)?

Q. When nohup command is used, shells returns the _____

Q. nohup command doesn’t send the standard output of a command to any file.

Q. What is the PID of the process who takes the parentage of the process run with nohup command?

Q. Which command is used to for executing jobs according to their priority?

Q. It is better to use & with nice command.

Q. Which one of the following command is used for killing the last background job?

Q. By default, kill uses the SIGTERM signal (15) to terminate the process.

Q. Which signal is used with kill command to terminate the process when they ignore the SIGTERM signal (15)?

Q. Which option is preferred while killing a process using SIGKILL signal (9)?

Q. Which of the followings command(s) is used to kill the login shell?

Q. Kill -l will list all the signal numbers on our machine.

Q. The command fg %1 will bring the first background job to the foreground.