I was just typing something along the lines of:
Some instances of bash change the command history when you re-use and edit a previous command, others apparently don’t. I’ve been searching and searching but can’t find anything that says how to prevent commands in the history from being modified when they’re reused and edited.
I would like to be able to copy and paste text in the command line in Bash using the same keyboard bindings that Emacs uses by default (i.e. using
M-w to copy text,
M-y to paste it, etc.).
If I want to move a file called
/longpath/morepath/ can I do something like