Flashcards
Chapter 02 - Review Questions
Cards in this deck (19)
- 1The ssh tool provides a non-secure tunnel over a network for accessing a RHEL system. True or False?False. The ssh command provides a secure tunnel over a network.
- 2Name the file that the who command consults to display logged-in users.The who command consults the /var/run/utmp file to list loggedin
users. - 3A file compressed with bzip2 can be uncompressed using gunzip command. True or False?False. The file will have to be uncompressed with either bzip2 or
bunzip2. - 4What is the use of the apropos command?The apropos command can be used to perform a keyword search in the
manual pages. - 5What does the lastlog command do?The lastlog command provides information about recent user logins.
- 6What are the –R and –a options used for with the ls command?The –R option is used for recursive directory listing and the –a option
for listing hidden files. - 7Linux commands may be divided into privileged and non-privileged commands. True or False?True.
- 8Which other command besides uptime can be used to display system load averages?The w command may be used to display system load averages instead
of the uptime command. - 9How can we display the line number and word count in a given file?We can use the wc command to display line and word counts.
- 10The id and groups commands are useful for listing a user identification. True or False.False. Only the id command is used for this purpose.
- 11Which file does the last command consult to display reports?The last command consults the /var/log/wtmp file to display reports.
- 12What type of information does section 5 in manual pages contain?Section 5 of the manual pages contain information on configuration
files. - 13What information does the lastb command provide?The lastb command reports the history of unsuccessful user login
attempts. - 14What is the function of the pwd command?The pwd command shows the absolute path of the current working
directory. - 15The who command may be used to view logged out users. True or False?False. The who command shows currently logged-in users only.
- 16The tar command can be used to archive files with their SELinux contexts. True or False?True. The tar command has the --selinux switch that provides thissupport.
- 17Which command can we use to display the tutorial of a command?We can use the info command to display the tutorial of a command.
- 18What are the three ls* commands to view pci, usb, and cpu information?The three commands are lspci, lsusb, and lscpu.
- 19The star command does not have the ability to include extended file attributes in archives. True or False?False. The star command does have the ability to include extended
attributes in archives.
Information
- Description
- RHCSA EX200 (02. Using Basic Linux Tools) Flashcards on Chapter 02 - Review Questions, created by Vagner Aragão on 24/01/2019.
- Created by
- Vagner Aragão
- Views
- 0
- Rating