⟩ The 'logout' built in command is used to a) shutdown the computer b) logoff of the computer c) logout the current user d) to exit the current shell
d) to exit the current shell
d) to exit the current shell
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
Which command is used to close the vi editor? a) q b) wq c) both (a) and (b) d) none of the mentioned