Creating Scripts
Once you get familiar with working with files and using various commands, you’ll soon find you want to combine several commands, sometimes creating long sequences that can be somewhat time consuming. We’ll go more in detail later on, but for now it’s good to know this is possible. Creating a list of commands to run one after the other is as easy as writing a grocery list of things you need to buy (once you know the basic steps).
You simply open a text file using any editor (nano was mentioned earlier, but you can even use a desktop text editor if that’s easier ...