How to delete a whole word on the right in Linux Bash Shell command line [duplicate] July 16, 2023 by Tarik Use Esc + D or Alt + D to delete the word on the right.