⟩ Which option of the kill command sends the given signal name to the specified process? a) -l b) -n c) -s d) -a
c) -s
c) -s
What is sed? a) a non-interactive stream editor b) an IDE c) a hex editor d) none of the mentioned
If any sed command does not specify any address then the command is applied to a) each input line b) none of the input line c) last input line d) none of the mentioned
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