Lesson 10 Quiz Flashcards
Select TWO commands that are often used to backup and restore files.
a) restore
b) cpio
c) tar
d) backup
b) cpio
c) tar
On Red Hat you use the rpm command. Which command listed below is most similar to rpm?
a) apt-get
b) apt-cache
c) apt
d) dpkg
d) dpkg
Select TWO files that are related to usernames and paswords.
a) /etc/usernames
b) /etc/passwords
c) /etc/shadow
d) /etc/passwd
b) /etc/passwords
c) /etc/shadow
You want to display the list of open files. Enter ONLY the command, without any command-line arguments.
losf
What command can you use to display the top users of CPU time?
a) vmstat
b) hoggers
c) top
d) vmstat –top
c) top
You want to display virtual memory statistics every 2 seconds for a total of 3 interrations. Select the command you would use.
a) vmstat 2 3
b) top 3 2
c) vmstat 3 2
d) top 2 3
a) vmstat 2 3
This is the system logging daemon/service.
a) system-config-logger
b) logrotate
c) rsyslogd
d) system-logger
c) rsyslogd
You need to look for shared libraries on a Linux system. You put on your sunglasses. Select TWO filename extensions below that are used for shared libraries.
a) .so.version
b) .so
c) .dll
d) .a
a) .so.version
b) .so
As a Linux user, you need to edit your personal crontab file. What command do you use?
a) cronedit
b) crontab
c) sudo crontab
d) cron
b) crontab
Enter the “process status” command. Enter ONLY the command, without any command-line options.
ps
On Red Hat you use the yum comamnd. What command listed below is most like yum?
a) apt-get
b) dpkg-get
c) dpkg
d) yummy-in-my-tummy
a) apt-get
You need to list the dynamic dependencies for /bin/bash. Enter the EXACT COMMAND you would use (including any command-line parameters) to list the dynamic dependencies in /bin/bash
ldd /bin/bash
This command allows you to run a single command at a specific time in the future.
a) at
b) crond
c) anacron
d) batch
a) at
This is used to manage and rotate log files.
a) rsyslogd
b) logrotate
c) logger
d) rotater
b) logrotate
This command is part of systemd and display info about system clock and date.
a) calendar
b) date
c) timedatectl
d) time
c) timedatectl