From the course: LPI Linux Essentials (010-160) Cert Prep

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Variables

Variables

- There are thousands of commands available for the command line user and it's a monumental task to remember all of them. Now the real power of the computer though, is its ability to simplify repetitive and huge tasks for you the user. To get it to do that though, we have to create some power within the shell and the shell allows us to automate things through the writing of shell scripts. Now in the simplest terms, a shell script is a file containing a series of commands. The shell is going to read this file and carry out all of the commands as if you've been entering them directly on the command line themselves. Now a more in-depth discussion about shell scripting will be covered in our next videos coming up, but for now let's talk about an essential feature of using the command line interface. This feature is the ability to use a name or a label to refer to some other quantity such as a value or a command. You may…

Contents