DCOM 142 ACTUAL FINAL EXAMS QUESTIONS
AND ANSWERS SURE A+
✔✔What special symbol is recognized by shells as the parent directory? - ✔✔double
period (..)
✔✔Which common editor in Linux displays command shortcuts at the bottom of the
screen? - ✔✔nano
✔✔Nano can support opening multiple files simultaneously? - ✔✔true
✔✔Which is a common editor in Linux? - ✔✔nano, emacs, gedit
✔✔Which keyboard key will return a user in VIM to command mode? - ✔✔esc
✔✔The find command searches a database to find a file. - ✔✔false
✔✔Which are modes used by vim? (Select all that apply) - ✔✔insert, command, visual
✔✔"Which command supported by Vim, has the function that reverts to the last saved
format without closing the file?" - ✔✔:e!
, ✔✔The locate command allows you to perform one or more actions on files found. -
✔✔false
✔✔"An application that enables you to view, create, or modify the contents of text files."
- ✔✔text editor
✔✔What is the second thing to do when searching for a file using locate? - ✔✔enter
updatedb
✔✔Which text editor is favored by many sysadmins and developers? - ✔✔vim
✔✔What is a single-key shortcut that is used to navigate through files in command
mode? - ✔✔motions
✔✔Which common editor in Linux is useful if desktop is installed? - ✔✔gedit
✔✔Displays complete path of a specified command. - ✔✔which
✔✔Which of the following can not be a source of standard input? - ✔✔screen
✔✔Which symbol represent appending stdout to the end of a file? - ✔✔>>
✔✔What is the process of accepting input data from a source other than the keyboard
and sending output data to a destination other than the display device? - ✔✔redirection
✔✔Which Linux command can you use to read a file? (Select all that apply) - ✔✔cat,
less, more
✔✔Which symbol represent reading input from a a file? - ✔✔<
✔✔What is the second step in the procedure to remove a file? - ✔✔Enter rm {file name}
✔✔Which are type of links? (Select all that apply) - ✔✔hard, symbolic or soft
✔✔Which command is used to translate a string of characters and is predominantly
used to change the case of letters in a file? - ✔✔tr
✔✔"Which ls command option can be used to show all files in a directory, including files
that begin with a period?" - ✔✔"""-a"""
✔✔Which Linux command allows you to perform pattern matching on a file? - ✔✔awk
AND ANSWERS SURE A+
✔✔What special symbol is recognized by shells as the parent directory? - ✔✔double
period (..)
✔✔Which common editor in Linux displays command shortcuts at the bottom of the
screen? - ✔✔nano
✔✔Nano can support opening multiple files simultaneously? - ✔✔true
✔✔Which is a common editor in Linux? - ✔✔nano, emacs, gedit
✔✔Which keyboard key will return a user in VIM to command mode? - ✔✔esc
✔✔The find command searches a database to find a file. - ✔✔false
✔✔Which are modes used by vim? (Select all that apply) - ✔✔insert, command, visual
✔✔"Which command supported by Vim, has the function that reverts to the last saved
format without closing the file?" - ✔✔:e!
, ✔✔The locate command allows you to perform one or more actions on files found. -
✔✔false
✔✔"An application that enables you to view, create, or modify the contents of text files."
- ✔✔text editor
✔✔What is the second thing to do when searching for a file using locate? - ✔✔enter
updatedb
✔✔Which text editor is favored by many sysadmins and developers? - ✔✔vim
✔✔What is a single-key shortcut that is used to navigate through files in command
mode? - ✔✔motions
✔✔Which common editor in Linux is useful if desktop is installed? - ✔✔gedit
✔✔Displays complete path of a specified command. - ✔✔which
✔✔Which of the following can not be a source of standard input? - ✔✔screen
✔✔Which symbol represent appending stdout to the end of a file? - ✔✔>>
✔✔What is the process of accepting input data from a source other than the keyboard
and sending output data to a destination other than the display device? - ✔✔redirection
✔✔Which Linux command can you use to read a file? (Select all that apply) - ✔✔cat,
less, more
✔✔Which symbol represent reading input from a a file? - ✔✔<
✔✔What is the second step in the procedure to remove a file? - ✔✔Enter rm {file name}
✔✔Which are type of links? (Select all that apply) - ✔✔hard, symbolic or soft
✔✔Which command is used to translate a string of characters and is predominantly
used to change the case of letters in a file? - ✔✔tr
✔✔"Which ls command option can be used to show all files in a directory, including files
that begin with a period?" - ✔✔"""-a"""
✔✔Which Linux command allows you to perform pattern matching on a file? - ✔✔awk