adplus-dvertising
frame-decoration

Question

The contents of file001 are:

232
25*50

What will be the contents of result.txt?

bc < file001 > result.txt

a.

undefined

b.

erroneous

c.

429467296, 1250

d.

1650

Posted under Unix Shell UNIX

Answer: (c).429467296, 1250

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The contents of file001 are: 232 25*50 What will be the contents of result.txt? bc < file001 > result.txt

Similar Questions

Discover Related MCQs

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?

Q. Every feature used in an interactive shell can also be used by a shell script.

Q. Which one of the following is arguably the best shell to use?

Q. Which one of the following command is used to create a child shell?

Q. Shell variables are of ____ types.

Q. Suppose ABD_DIR is a local variable. Then it will be accessible to the child process.

Q. ____ command is used to display the environment variables only.

Q. Which symbol is used for setting the PS1 prompt to show the current event number?