1

Suppose I've typed

cd Documents/dir1/ 

I want to remove only dir1 from that input so that I get

cd Documents/

This has been asked in in remove part of path, but I couldn't find what I was looking for.

AdminBee
  • 21,637
  • 21
  • 47
  • 71
user395980
  • 199
  • 2
  • 6
  • In what way do you mean without the obvious "use delete/backspace"? And what relevance are "_Ubuntu keyboard shortcuts_"? – roaima Apr 10 '20 at 19:53
  • Can you comment on why [this answer](https://unix.stackexchange.com/a/28773/377345) to the question you mentioned doesn't work for you? – AdminBee Apr 14 '20 at 07:28

1 Answers1

0

Press Esc Backspace to remove dir1.

Arkadiusz Drabczyk
  • 25,049
  • 5
  • 53
  • 68