adduser command in Linux with Examples Last Updated : 19 Jul, 2024 Comments Improve Suggest changes Like Article Like Report adduser command in Linux is used to add a new user to your current Linux machine. This command allows you to modify the configurations of the user which is to be created. It is similar to the useradd command in Linux. The adduser command is much interactive as compared to useradd command. Installing adduser command To install adduser tool use the following commands as per your Linux distribution. In case of Debian/Ubuntu$sudo apt-get install adduserIn case of CentOS/RedHat$sudo yum install adduserIn case of Fedora OS$sudo dnf install adduserWorking with adduser command1. To add a new user adduser username This command will add a new user to your Linux system. It will ask for some details and after entering those details a new user account would be created. 2. To add a user with a different shell. sudo adduser username --shell /bin/sh This command will change the default shell for the new user to /bin/sh. 3. To add a new user with a different configuration file. adduser username --conf custom_config.conf This command will take the configurations from the custom_config file and will create the new as per custom_config filename configurations. 4. To add a user with different home directory. adduser username --home /home/manav/ This command will add the new user with /home/manav as the default directory. 5. To get the version of the adduser command. adduser --version This command will print the version details of the adduser command. 6. To display the help section of the adduser command adduser -h This command will display the help section of the adduser command. Comment More infoAdvertise with us Next Article adduser command in Linux with Examples manav014 Follow Improve Article Tags : Technical Scripter Linux-Unix linux-command Similar Reads as command in linux with examples as command is the portable GNU assembler in Linux. Using as command, we can read and assemble a source file. The main purpose of 'as' is to assemble the output of the GNU compiler of the C language.as command reads and assembles the .s File. Also, whenever you do not specify the file, it normally re 3 min read addgroup command in Linux with Examples The add group command in Linux adds a new group to your current machine and allows you to modify its configuration. It is similar to the groupadd command, but it is more interactive and user-friendly.Syntaxsudo addgroup [ options ] groupnameInstalling the addgroup CommandIf the addgroup tool is not 3 min read aptitude command in Linux with examples The aptitude command in Linux provides a user-friendly interface to interact with the machine's package manager. It functions similarly to a control panel, like in Windows, allowing you to install, upgrade, and remove packages. The command can be used in either a visual interface or directly via the 4 min read automake command in Linux with Examples automake is a tool used for automatically generating Makefile.in files compliant with the set GNU Coding Standards. autoconf is required for the use of automake. automake manual can either be read on-line or downloaded in the PDF format. More formats are also offered for download or on-line reading. 1 min read apropos command in Linux with Examples Linux/Unix comes with a huge number of commands and thus it become quite difficult sometimes to remember each and every command. apropos command becomes useful in such cases. apropos command helps the user when they don't remember the exact command but knows a few keywords related to the command tha 3 min read bc command in Linux with examples bc command is used for command line calculator. It is similar to basic calculator by using which we can do basic mathematical calculations. Arithmetic operations are the most basic in any kind of programming language. Linux or Unix operating system provides the bc command and expr command for doing 11 min read cc command in Linux with Examples 'cc' command stands for C Compiler, usually an alias command to 'gcc' or 'clang'. As the name suggests, executing the 'cc' command will usually call the 'gcc' on Linux systems. It is used to compile the C language codes and create executables. The number of options available for the cc command is ve 3 min read autoconf command in Linux with examples autoconf command is used in Linux to generate configuration scripts. Generate a configuration script from a TEMPLATE-FILE if given, or from âconfigure.acâ if present, or 'configure.in'. The output is sent to the standard output if TEMPLATE-FILE is given, otherwise, it is sent into âconfigureâ. To us 1 min read ex command in Linux with examples ex (stands for extended) is a text editor in Linux which is also termed as the line editor mode of the vi editor. This editor simply provided some editing commands which has greater mobility. With the help of this editor, a user can easily move between files. Also, he/she has a lot of ways to transf 4 min read dc command in Linux with examples The dc command is a versatile calculator found in Linux systems, operating using reverse Polish notation (RPN). This command allows users to perform arithmetic calculations and manipulate a stack, making it ideal for complex mathematical tasks directly from the command line.SyntaxThe basic syntax fo 3 min read Like