adplus-dvertising
frame-decoration

Question

If 7 terminals are currently logged on. then the command

date ; who | wc -l,

displays

a.

date followed by 7

b.

date followed by 8

c.

date followed by 1

d.

an error message

Posted under Unix Shell UNIX

Answer: (a).date followed by 7

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If 7 terminals are currently logged on. then the command date ; who | wc -l, displays

Similar Questions

Discover Related MCQs

Q. Choose the correct answers if the command ls -l /dev/mt0 display's

brw_rw_ _ _ _ 1 root 3, 0 Apr18 1:05 mt0

Q. Choose the correct statements.

Q. cat/dev/tty

Q. The header files used in C programs arc usually found in

Q. The command pwd displays /x/y. After executing the command chmod u -x. which of the following commands will not work?

Q. A C program should be compiled with -g option (like cc -g x . c) to use

Q. No shell script can take input from

Q. The command cc x.c && a.out

Q. Which of the following shell script's looping features does not recognize the break command?

Q. Shell script

Q. The desirable features of a new shell script you write is that

Q. Which of the following shell commands displays the contents of each of the command line arguments one by one

Q. The disadvantage of a pipe is that

Q. The state of signals are

Q. Which of the following options for the shell command test should be followed by the file descriptor?

Q. Which of the following displays the exit status of the last executed command?

Q. Which of the following file names cannot be displayed if la ls* is run?

Q. Which of the following initiates the sequence of events that ultimately allows a user to login?

Q. getc (stdin)

Q. Which of the following is not the work of a C-preprocessor?