I frequently have things I need to do in a fresh context to keep from messing up my workflow. Usually I open a fresh terminal, do whatever, and then by the end of the day I have a bunch of single-command terminal windows open.
Sometimes I remember to add && exit
on the end of my command, but sometimes I don't.
Is there a way to run a single command via a hotkey? Mainly useful for umount /media/[tab][tab]
, but I could find other uses as well. Autocomplete would definitely be an asset.
For quickly executing commands, use ALT+F2 and type your command there.
Be careful as some functionalities like redirecting output into files might not be working as expected.