Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet213/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   209   210   211   212   213   214   215   216   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

[
 159 
]
At this point, you can put this script in a cron job to automate its run. To do so, it's 
best to put the script in a central location where it can be found, such as in 
/usr/
local/bin
:
mv backup.sh /usr/local/bin
You can consider creating a cron job for this script to be run periodically. We'll cover 
that in 
Chapter 7

Controlling and Monitoring Processes
, which is the very next chapter. 
With a cron job, you can set up various tasks to run at different times in order to 
make your server essentially do your work for you.
Summary
In this chapter, we dived into a number of more advanced concepts relating to shell 
commands, such as redirection, Bash history, command aliases, some command-line 
tricks, and more. Working with the shell is definitely something you'll continue to 
improve upon, so don't be worried if you have any trouble committing all of this 
knowledge to memory. After over 18 years working with Linux, I'm still learning 
new things myself. The main takeaway in this chapter is to serve as a starting point 
to broaden your command-line techniques, and also serve as the basis for future 
exploration into the subject.
In the next chapter, we'll take a look at managing processes, which will include job 
management, taming misbehaving processes, and more. See you there!
Further reading
•  Comparison operators for Bash: 
http://tldp.org/LDP/abs/html/comparison-
ops.html
•  Commandlinefu: 
https://www.commandlinefu.com/commands/browse
•  Bash reference manual: 
https://www.gnu.org/software/bash/manual/html_
node/index.html#SEC_Contents




Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   209   210   211   212   213   214   215   216   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish