Which two commands can you use to delete directories? A) rm B) rm -rf C)...
Answer(s): B, C – You can use rmdir or rm -rf to delete a directory. Answer a is incorrect, because the rm command without any specific flags will not delete a directory, it will only delete files....
View ArticleWhich partitioning tool is available in all distributions? A) Disk Druid B)...
Answer(s): B – The fdisk partitioning tool is available in all Linux distributions. Answers a, c, and e all handle partitioning, but do not come with all distributions. Disk Druid is made by Red Hat...
View ArticleWhich partitions might you create on the mail server’s hard drive(s) other...
Answer(s): A, B, E – Separating /var/spool onto its own partition helps to ensure that if something goes wrong with the mail server or spool, the output cannot overrun the file system. Putting /tmp on...
View ArticleWhen planning your backup strategy you need to consider how often you will...
what to backup Choosing which files to backup is the first step in planning your backup strategy.
View ArticleWhat utility can you use to automate rotation of logs?
Answer: logrotate The logrotate command can be used to automate the rotation of various logs.
View ArticleIn order to display the last five commands you have entered using the history...
Answer: history 5 The history command displays the commands you have previously entered. By passing it an argument of 5, only the last five commands will be displayed.
View ArticleWhat command can you use to review boot messages?
Answer: dmesg The dmesg command displays the system messages contained in the kernel ring buffer. By using this command immediately after booting your computer, you will see the boot messages.
View ArticleWhat is the minimum number of partitions you need to install Linux?
Answer: 2 Linux can be installed on two partitions, one as / which will contain all files and a swap partition.
View ArticleWhat is the name and path of the main system log?
Answer: /var/log/messages By default, the main system log is /var/log/messages.
View ArticleOf the following technologies, which is considered a client-side script? A)...
Answer: A – JavaScript is the only client-side script listed. Java and C++ are complete programming languages. Active Server Pages are parsed on the server with the results being sent to the client in...
View Article