adplus-dvertising
frame-decoration

Question

The following command will_________

!! tr ‘[a-z]’ ‘[A-Z]’

a.

throw an error

b.

undefined behaviour

c.

changes the case of current line from lower to uppercase

d.

changes the case of current line from upper to lowercase

Posted under Vi Editor UNIX

Answer: (c).changes the case of current line from lower to uppercase

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The following command will_________ !! tr ‘[a-z]’ ‘[A-Z]’

Similar Questions

Discover Related MCQs

Q. The command c0 will change the text from current cursor to the end of line.

Q. For returning back to the original file after switching we can use:

Q. When multiple filenames are used with vi, we can switch to next file using ___ command.

Q. We can move back to the previous file using ____ command.

Q. :r !date inserts the output of date command in our file.

Q. To split the screen into multiple windows, we can use ____ command.

Q. To create a new window, ____ can be used.

Q. To remove all other windows except the current one, which of the following command is used?

Q. vi editor has ____ named buffers.

Q. To restore a number of recent deletions, numbered buffers are used.

Q. For restoring the contents of numbered buffers efficiently, ___ command is used.

Q. To change the default tab stop spaces in vi, ___ can be used with :set.

Q. Which command is used for mapping keys of keyboard?

Q. /* and f* are same.

Q. For compiling a C program without leaving the editor, which command will be used?

Q. Which of the following statement is not true?

Q. The letter "A" (upper case) in ASCII code is

Q. Hexadecimal is a number system to the base

Q. If you open a Microsoft Word document with a Unix text editor you would see

Q. The first Unix editor was