Rather than write a script for something you may only need once, there’s an easy way to repeat a series of command-line commands.
Simple repeating command-line command
Rather than write a script for something you may only need once, there’s an easy way to repeat a series of command-line commands.