terminal delete word shortcut code example Example: mac terminal delete word shortcut Control + w to delete a word on the left