1.

Which option is used with paste command for joining lines?(a) -s(b) -c(c) -a(d) -eI have been asked this question in an interview.This intriguing question originated from Filtering Commands topic in portion Simple Filters of Unix

Answer»

The correct answer is (a) -s

For explanation I would SAY: The -s option joins the LINE in the same way the vi editor’s J does. Using this option on a file containing MULTIPLE lines will JOIN all of these lines into a single one.



Discussion

No Comment Found

Related InterviewSolutions