Linux – Add New User by Command Line

Use the following command to add user with default home folder and bash as default shell.

  • useradd -m -s /bin/bash <username>

 

Done =)

Reference: Create new user account in Ubuntu Linux from command line

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.