L in u X ba sics for h acke rs g e t t I n g s t a r t e d w I t h




Download 7,3 Mb.
Pdf ko'rish
bet12/115
Sana27.11.2023
Hajmi7,3 Mb.
#106243
1   ...   8   9   10   11   12   13   14   15   ...   115
Bog'liq
linuxbasicsforhackers
mashinali o\'qitishga kirish, 1698393090
15 
MANAGING THE LINUX KERNEL
AND LOADABLE KERNEL MODULES 
165
What Is a Kernel Module? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Checking the Kernel Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Kernel Tuning with sysctl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Managing Kernel Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Finding More Information with modinfo . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Adding and Removing Modules with modprobe . . . . . . . . . . . . . . . . . . . . . 170
Inserting and Removing a Kernel Module . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
16 
AUTOMATING TASKS WITH JOB SCHEDULING 
173
Scheduling an Event or Job to Run on an Automatic Basis . . . . . . . . . . . . . . . . . . . . 174
Scheduling a Backup Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Using crontab to Schedule Your MySQLscanner . . . . . . . . . . . . . . . . . . . . . 177
crontab Shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Using rc Scripts to Run Jobs at Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Linux Runlevels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Adding Services to rc .d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Adding Services to Your Bootup via a GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181

Download 7,3 Mb.
1   ...   8   9   10   11   12   13   14   15   ...   115




Download 7,3 Mb.
Pdf ko'rish

Bosh sahifa
Aloqalar

    Bosh sahifa



L in u X ba sics for h acke rs g e t t I n g s t a r t e d w I t h

Download 7,3 Mb.
Pdf ko'rish