make a bash script to execute commands in order code example
Example: bash run all commands in a file
# Basic syntax:
bash your_file
# This is an instance in which something is surprisingly easier that you
# might expect on the command line. Just list the shell commands you
# want to run in a file and run bash that_file and every command is run
# sequentially line by line