Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Command Line Fundamentals

You're reading from   Command Line Fundamentals Learn to use the Unix command-line tools and Bash shell scripting

Arrow left icon
Product type Paperback
Published in Dec 2018
Publisher
ISBN-13 9781789807769
Length 314 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Vivek Nagarajan Vivek Nagarajan
Author Profile Icon Vivek Nagarajan
Vivek Nagarajan
Arrow right icon
View More author details
Toc

Introduction

In the previous chapters, we learned most of the shell constructs and syntax that are used with the interactive command line. We also built a vocabulary of useful commands and learned how to combine them. In this final chapter, we will learn a few more shell constructs and commands, all of which when combined, will let us use the shell as a generic programming language.

The programs we write for the shell's language are called shell scripts. Any task we perform once can be converted into a shell script that can be repeated later. Scripts can be executed just like any other program in the system, giving us a way to automate our workflows. Since the shell can use any program that's installed on the system, by installing the right command-line utilities, we can automate practically anything we do manually.

Once we have learned this, for the remainder of the chapter, we will create several complex shell scripts that perform a non-trivial task, to cement our...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime