Skip to Main Content
Fundamentals of Linux
book

Fundamentals of Linux

by Oliver Pelz
June 2018
Beginner content levelBeginner
234 pages
5h 36m
English
Packt Publishing
Content preview from Fundamentals of Linux

Automating script execution

In this section, we will show you how to automate Bash shell script execution. The cron system, which is available on every Linux system, allows for the automation of commands or scripts by enabling the administrator to determine a predefined schedule based on any hour, day, or even month. It is a standard component of the CentOS 7 operating system, and in this section we will introduce you to the concept of managing recurring tasks in order to take advantage of this invaluable tool.

First, let's create a new script, which will download an elegant and useful Linux command-line example from the incredible Commandlinefu web page and put it in the motd, or message of the day, file in the Linux system so that it is ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux in a Nutshell, 6th Edition

Linux in a Nutshell, 6th Edition

Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins
Linux in Action

Linux in Action

David Clinton
Hands-On System Programming with Linux

Hands-On System Programming with Linux

Kaiwan N. Billimoria, Tigran Aivazian

Publisher Resources

ISBN: 9781789530957Supplemental Content