How to delete large amount of files in Linux

How to delete large amount of files in Linux In this tutorials, we will show you how to delete a large amount of files in Linux if you receive this error when using rm -rf command : “Argument list is too long”. You can use the command “find” to delete the files. How to delete…

How to change Crontab default editor

How to change Crontab default editor In this tutorials, we will show you how to change the crontab editor with nano. Requirements : Dedicated Server root access Install nano package on your server CentOS yum install nano -y Ubuntu apt-get install nano -y Change the crontab editor export EDITOR=nano Use crontab with nano crontab -e…

How to Dump and Restore a Database in MySQL or MariaDB with mysqldump

How to Dump and Restore a Database in MySQL or MariaDB with mysqldump In this document, we will show you how to dump a database with mysqldump and restore it. How to dump the database mysqldump -u [username] -p [database] > this_database.sql Restore procedure If the Database exist, drop the database first. mysql -u root…

How to Drop and Import a table in MySQL Database via Command line

How to Dump and Import a table in MySQL Database via Command line In this document, we will show you how to dump a table in a particular database and restore a table from a .sql How to dump a specific table mysqldump -u [username] -p [database] [table] > this_table.sql How to restore this table…