adplus-dvertising
frame-decoration

Question

The command wc < sample.txt will count data from the file sample.txt.

a.

True

b.

False

c.

May be

d.

Can't say

Posted under Unix Shell UNIX

Answer: (b).False

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The command wc < sample.txt will count data from the file sample.txt.

Similar Questions

Discover Related MCQs

Q. Which symbol is used for taking input from both file and standard input?

Q. Which of the following symbol(s) can be used to redirect the output to a file or another program?

Q. The >> symbol is used to overwrite the existing file if it exists.

Q. Which file descriptor is used to represent standard error stream?

Q. We can redirect the error message to file named newfile using __________ command.

Q. The category of commands which uses both standard input and standard output are called ____

Q. The contents of file001 are:

232
25*50

What will be the contents of result.txt?

bc < file001 > result.txt

Q. Which of the following files are known as special files in UNIX?

Q. The size of /dev/null is always zero.

Q. Which symbol is used to redirect error messages to /dev/null?

Q. Which file is used for indicating terminals?

Q. Which symbol is used to connect different streams?

Q. Shell enables one or more arguments to be obtained from the standard output of another command. This feature is called _________

Q. What will the result when we evaluate this statement?

$ directory=’pwd’=`pwd`

Q. Which of the following is not a system defined variable?

Q. Which of the following is an invalid variable?

Q. Command substitution requires the command to use ________

Q. The command is valid.

$ ls -lRa $HOME > home.ls

Q. The UNIX shell is both _______ and _______ language.

Q. Which of the following function(s) are performed by an interactive shell?