Delete user and its home directory in Linux

User home directory and mail spool will be removed:

userdel -r username
or:
userdel --remove username