Shell scripting is the process of writing lists of commands to be run as a macro from a computer's shell ( or Terminal). These can contain any executable function, as well as a few others, that you would normally run in a Terminal. Once completed these macros can be instructed to run automatically upon different system events or times to help you to automate your life.