Showing 6 Result(s)

Importing and Exporting of MYSQL Database with Command Line SSH

Importing MYSQL Database Syntax $ mysql -u username -p database_name < path_to_mysql_file_here Importing existing MYSQL database with filename "wordpress.sql" stored at directory "/home/nishant/", Username is "root", terminal will prompt for asking password. $ mysql -u root -p wordpress < /home/nishant/wordpress.sql Exporting MYSQL Database Syntax $ mysqldump -p -u username database_name > path_to_mysql_file_here Exporting MYSQL database …

Create file with TimeStamp in Shell Script

I love using Ubuntu OS for development. I need to create a shell script that saves new file with a timestamp. Following are steps that I’ve followed: Understanding date command. nishant@nishantvaity:~$ date Wed Sep 18 13:53:49 IST 2019 Use any of following command to know options for date command. nishant@nishantvaity:~$ date –h OR nishant@nishantvaity:~$ man …

Git and Virtualmin

Introduction to Git Git is a source-code control system that allows multiple developers to work on the same project. Each developer has a copy of the repository on his workstation, and can check in changes to that repository and synchronize it with a central server. Other developers can then fetch those changes by synchronizing their …