Here’s how to delete a Linux user.

<pre lang="bash">
userdel username

Delete user and the home directory.

<pre lang="bash">
userdel -f username