1.

-h option is used with who command for what purpose?(a) display output with header information(b) display output with a more detailed version(c) display output with trailer information(d) display output in columnar formThe question was asked during an online interview.My question comes from General Purpose Commands in section The Unix Architecture & General Purpose Utilities of Unix

Answer»

Right option is (a) display output with HEADER INFORMATION

Easy explanation: While most UNIX commands have a feature to AVOID cluttering the display with display information, who command does have a header option( -H ). This option prints the COLUMN headers ALSO.



Discussion

No Comment Found

Related InterviewSolutions