Prettyscripts

Ubuntu: Add user

There are 2 commands to add user: useradd and adduser. (The commands could be the same for other Linux.) adduser is easier to use. It prompts for relevant information. To allow new user to run sudo, run: usermod -G admin <username>

Linux Version

To find out the Ubuntu version the server is running, the information can be found in file /etc/issue. Alternatively, run this command: lsb_release -a To find out the kernel version, run this command: uname -a These commands are probably applicable to other linux builds.