Upated Instruction 1/31/2019 Basic mysqldump command. The -p flag will prompt you for your password later. Fill in the example_text with your info. mysqldump -u user_name -p database_name > desired_file_name.sql To dump a database from a remote database host you … Continued
I like to use the su command. Start by logging in as a sudo user or root. Let’s say you are a sudo user named michael, but another user named “web” controls files that you would like to write. You can run commands … Continued
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
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