1.

wc command can also work on a data stream.(a) True(b) FalseI got this question by my school teacher while I was bunking the class.This question is from Counting File Data: wc Command topic in section Handling Ordinary Files of Unix

Answer» RIGHT choice is (a) True

Easy explanation: wc COMMAND when invoked without any SPECIAL symbol ( like < or | ) or an argument it reads the INPUT from standard input. we have to provide the input from the keyboard and mark the end of input with Ctrl-D. For example,


Discussion

No Comment Found

Related InterviewSolutions