If you have a series of commands you need to type over and over again to complete a task, you can add them to a file and “run” that file instead of typing those commands.
You can also add conditional commands to do different things based on the results of previous commands, arguments you add to the end of the script command, time of day, etc Scripts can get very complex and sophisticated… to the point where it is indistinguishable from a program.
Most software installation programs are actually scrips.
Latest Answers