⟩ The command 'umask -S' a) prints the current mask using symbolic notation b) prints the current mask using octal numbers c) sets the mask to 000 d) sets the mask to 777
a) prints the current mask using symbolic notation
a) prints the current mask using symbolic notation
Which is the correct syntax for sed on command line? a) sed [options] '[command]' [filename] b) sed '[command]' [options] [filename] c) sed [filename] [options] '[command]' d) sed '[command]' [filename] [options]
Which command sets the number for all lines? a) set li b) set ln c) set nu d) set nl
Which command shows all the abbreviations in vi editor? a) ab b) abb c) show d) none of the mentioned
In vi editor, which command reads the content of another file? a) read b) r c) ex d) none of the mentioned
Which command will delete all the blank lines in file old.txt? a) sed '/d' old.txt b) sed '/^/d' old.txt c) sed '/^$/d' old.txt d) sed '/^*/d' old.txt
Which command searches the string in file opened in vi editor? a) / or ? b) f or F c) t or T d) none of the mentioned
Which one of the following statement is true? a) autoindentation is not possible in vi editor b) autoindentation can be set using the command 'set ai' c) autoindentation can be set using the command 'set noai' d) autoindentation is set by default in vi editor
In vi editor, the key combination CTRL+f a) moves screen down one page b) moves screen up one page c) moves screen up one line d) moves screen down one line
Which one of the following statement is not true? a) vim editor is the improved version of vi editor b) vi editor commands are not case sensitive c) vi editor has two modes of operation command mode and insert mode d) vi stands for visual editor
Which command is used to delete the character before the cursor location in vi editor? a) X b) x c) D d) d