adplus-dvertising
frame-decoration

Question

Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it?

a.

who | tee user.lst

b.

who > user.lst

c.

who >> user.lst

d.

who < user.lste

Posted under Operating System

Answer: (a).who | tee user.lst

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it?

Similar Questions

Discover Related MCQs

Q. Which of the following shell's wildcards are used to match any number of characters including none?

Q. The command used to remove the directory is;

Q. Which symbol will be used with grep command to match the pattern pat at the end of a line?

Q. Which command is used to display all the lines with the string 'sales' from the file empl.lst?

Q. Which of the following commands is not the vi Input mode command?

Q. Which of the following commands is used to remove files?

Q. Which command is used with vi editor to save file and remain in the editing mode?

Q. You can append to a file instead of overwriting by using the

Q. The [line number G] key allows you

Q. Which of the following commands is used to have a two-way communication with any person who is currently logged in?

Q. Which command is used with vi editor to move the cursor to the left?

Q. Which of command is used to copy a file?

Q. The special shell variable $* is used

Q. The cat command is used to

Q. The UNIX file system stores a data in physical blocks of

Q. Which command is used to terminate all processes in your own system except the login shell?

Q. Which operator will be used with chmod command to assign absolute permission?

Q. Which command is used to link the files?

Q. Which of the following signs is used to back up over typing errors in vi?

Q. Major expressions used with find command to select file is it has been accessed in more than 375 days, is