-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Linux Essentials - Second Edition
By :
A script is a program written in an interpreted language, typically associated with a shell or a compiled program. In Linux, many scripts are shell scripts, which are associated with Bash or another shell. (If you’re familiar with batch files in Windows, scripts serve a similar purpose.) You can write shell scripts to help automate tedious, repetitive tasks or to perform new and complex tasks. Scripts perform many of Linux’s startup functions, so mastering scripting will help you manage the startup process.
This chapter covers Bash shell scripts, beginning with the task of creating a new script file. We then describe several important scripting features that help you to perform progressively more complex scripting tasks.
Change the font size
Change margin width
Change background colour