I assume that you have a little programming background. Even if you don't have a programming background, the book will start from the beginning.
You should know some Linux basics such as the basic commands such as ls, cd, and which.
I assume that you have a little programming background. Even if you don't have a programming background, the book will start from the beginning.
You should know some Linux basics such as the basic commands such as ls, cd, and which.
You can download the example code files for this book from your account at www.packtpub.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.
You can download the code files by following these steps:
Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:
The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Mastering-Linux-Shell-Scripting-Second-Edition. In case there's an update to the code, it will be updated on the existing GitHub repository.
We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it from https://www.packtpub.com/sites/default/files/downloads/MasteringLinuxShellScriptingSecondEdition_ColorImages.pdf.
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Edit your script so that it reads like the following complete code block for $HOME/bin/hello2.sh"
A block of code is set as follows:
if [ $file_compression = "L" ] ; then tar_opt=$tar_l elif [ $file_compression = "M" ]; then tar_opt=$tar_m else tar_opt=$tar_h fi
Any command-line input or output is written as follows:
$ type ls ls is aliased to 'ls --color=auto'
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Another very useful feature is found on the Preferences | Plugins tab"