1.

Which of the following command doesn’t accept a filename as an argument?(a) cut(b) ls(c) paste(d) mailxI had been asked this question in my homework.Origin of the question is Shell Programming using Various Commands topic in division Essential Shell Programming of Unix

Answer»

Correct choice is (d) mailx

Best EXPLANATION: The mailx command doesn’t ACCEPT any filename as its ARGUMENT. So if we want to give input to the mailx command, we can use the here document.



Discussion

No Comment Found

Related InterviewSolutions