1.

Which option is used with pr command for printing multi-columnar output?(a) -p(b) -k(c) -d(d) -prThe question was asked in an interview.My question is from Filtering Commands in section Simple Filters of Unix

Answer»

The correct CHOICE is (b) -k

The best explanation: -k option is USED with pr command (where k is an INTEGER) for printing in k columns. For example, if a file contains a SERIES of 12 numbers then we can divide the output into 3 columns in this way:



Discussion

No Comment Found

Related InterviewSolutions