Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

^H deletes a single character, while ^W deletes a whole word in many different programs, including those that use GNU readline (e.g. bash). Similarly, ^U commonly deletes the whole line, or from the cursor to the beginning of the line. ^U is particularly useful when you think you might have mistyped a password and there are no indicators about how many characters you've typed (e.g. ssh or sudo).


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: