Mar-02-2022, 06:54 AM
In Bash, if you type Ctrl-x Ctrl-e it starts the editor defined by $EDITOR to edit the command that you want to type. When you close and save the editor, it runs the command. I use jed as $EDITOR for this. Younger people would probably use nano.