Mac Terminal: Delete a word at time

Solution 1:

I just found that in iTerm2, set options key as ESC+ key under profile -> keys.