Using an editor to create commands
If you have a long group of commands you need to run press Ctrl-X, followed by Ctrl-E
This will open your default editor. When you're done close the editor (saving the file) and the command will run.
If you have a long group of commands you need to run press Ctrl-X, followed by Ctrl-E
This will open your default editor. When you're done close the editor (saving the file) and the command will run.