# delete a command line MacOS -> Ctrl+U Linux -> Ctrl+K / Ctrl+X # delete a command word MacOS/Linux -> Ctrl+W