Quick Example Command: usermod -a -G group_name user_name Full Instructions How to add an existing user to existing group via ssh terminal on Ubuntu Linux. To add an existing user mike to www-data supplementary/secondary group with usermod command using -a option … Continued
Have you ever been working in terminal, made a typo on a commanded, hit return and got stuck? It’s ok it happens to everyone. If you are running Ubuntu, or really for most terminals and Linux based operating systems simply … Continued
Back up your database from the command line using mysqldump. This works in most Linux based terminals / SSH.
$ mysqldump --opt -u [uname] -p[pass] [dbname] > [backupfile.sql]
[uname] Your database username [pass] The password for your database (note there is no space between -p and the … Continued
Shutdown Ubuntu 12.10 Server from Linux Command Line sudo shutdown -h now The sudo halt command doesn’t work for Ubuntu Servers 12.04 and newer.
• Ctrl+X Exit the editor. If you’ve edited text without saving, you’ll be prompted as to whether you really want to exit. • Ctrl+O Write (output) the current contents of the text buffer to a file. A filename prompt will … Continued