In Bash Emacs mode, is there any way to delete till the previous slash character?
For example, if I entered the command cp /usr/local/bin/reallylongincorrectfolder /home/myname/reallylong_and_correct_path
and want to just delete the reallylongincorrectfolder
, is there any shortcut?
This is a very common scenario for me in Bash.
Something like dF<char>
in vi?