adplus-dvertising
frame-decoration

Question

The following will display :

perl -e ‘print “UNIX” x 10 . “\n” ;’

a.

UNIX

b.

UNIX 10 times

c.

error message

d.

\n

Posted under UNIX

Answer: (b).UNIX 10 times

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The following will display : perl -e ‘print “UNIX” x 10 . “\n” ;’

Similar Questions

Discover Related MCQs

Q. Filter’s are a category of commands that take the advantage of shell redirection feature.

Q. Which command is used for preparing a file for printing?

Q. pr command adds ____ lines of margin at the top and bottom.

Q. Which option is used with pr command for printing multi-columnar output?

Q. Which option is used with pr command to suppress the header and footers?

Q. Which option is used with the tail command for extracting bytes instead of lines?

Q. paste command uses space as the default field delimiter.

Q. _____ option is used with paste command if we want to specify our own delimiter.

Q. Which option is used with paste command for joining lines?

Q. ____ command is used for sorting a file on specified fields.

Q. The name of the input and output files cannot be same while using sort command.

Q. Which command is used for locating repeated and non-repeated lines?

Q. uniq command requires a sorted file as input.

Q. Which option is used with uniq command for selecting non-repeated lines?

Q. Which one of the following command is used for searching for a pattern in one or more file(s)?

Q. Which one of the following is the correct syntax for grep command?

Q. Which one of the following command will be used for searching “director” in emp.lst?

Q. When the pattern is not found in a file, grep command silently returns the prompt.

Q. grep command can be used for searching a pattern in more than one file.

Q. Which of the following is not a subset of BRE (basic regular expression) character subset?