Linux Computing. Linux Questions Advanced 2021.pdf
(
495 KB
)
Pobierz
Advanced Linux Questions
Linux Computing
This book is for sale at
http://leanpub.com/linuxquestions-advanced
This version was published on 2019-03-15
This is a
Leanpub
book. Leanpub empowers authors and
publishers with the Lean Publishing process.
Lean Publishing
is
the act of publishing an in-progress ebook using lightweight tools
and many iterations to get reader feedback, pivot until you have
the right book and build traction once you do.
© 2019 Linux Computing
Contents
Part I
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
Part I
QUESTION
Which two utilities can you use to set up a job to run at a specified
time?
1
2
3
4
at and crond
atrun and crontab
at and crontab
atd and crond
Correct Answer: C
Explanation: The ‘at’ command is used to execute commands at a
specified time and optional date. A cron job is a program or script
scheduled at a specified time. The ‘crontab’ program is used to cre-
ate user cron jobs. Reference: http://www.oreillynet.com/linux/cmd/a/at.html
http://www.oreillynet.com/linux/cmd/c/crontab.html
Incorrect Answers:
1
2
3
4
5
6
7
8
9
A:The Cron daemon
(crond)
is
the program that runs the cr\
on job at the specified time. It
is
not used to
set
up a cron job.
B:Atrun
is
used to run jobs scheduled by the
‘at’
program\
.
It
is
not used to
set
up a job to run at a specified
time.
D:Atd
is
the
‘at’
deamon. Similar to the cron daemon, it
\
is
the program that runs the jobs scheduled
with
the
‘at’
command.
Part I
2
QUESTION
After creating a backup of the users home directories called backup.cpio
you are asked to restore a file called memo.ben. What command
should you type?
Correct Answer: cpio –iF backup.cpio memo.ben
Explanation: The ‘cpio’ command is used to create backups or re-
store files from a backup. The –i option is to extract something. The
F option is to specify a file. Here we are extracting memo.ben from a
file named backup.cpio. Reference: http://www.oreillynet.com/linux/cmd/c/cpio.htm
QUESTION
You wish to restore the file memo.ben which was backed up in the
tarfile MyBackup.tar. What command should you type?
Correct Answer: tar xf MyBackup.tar memo.ben
Explanation: Tarfiles are created using the ‘tar’ utility. Therefore,
you should use the ‘tar’ utility to extract the files. The x option is
to extract and the f option is to specify a filename to extract from.
Reference: http://www.oreillynet.com/linux/cmd/t/tar.html
QUESTION
When is the most important time to restore a file from your backup?
1
2
3
4
5
On a regular scheduled basis to verify that the data is a\
vailable.
When the system crashes.
When a user inadvertently loses a file.
When your boss asks to see how restoring a file works.
Correct Answer: A
Plik z chomika:
destroyer30
Inne pliki z tego folderu:
RaspberryPiofficialmagazine-April2025.pdf
(74064 KB)
RaspberryPiOSSystemAdministrationwithsystemd.pdf
(14598 KB)
Explore the Raspberry Pi in 45 Electronics Projects, 3rd Edition.pdf
(8926 KB)
Getting Started With Raspberry Pi, 4th Edition (Make).pdf
(26948 KB)
Gates J. Raspberry Pi Basics. A Beginners Guides 2023.pdf
(1907 KB)
Inne foldery tego chomika:
AndroidBOX_MXQ4_RK322X
DiagBox_Peugeot_Citroen
Dokumenty
Driver
Firefox-dla-xpeka-ostatnia-działająca wersja
Zgłoś jeśli
naruszono regulamin