Quickly Generate Dummy Files Of Different Sizes From Linux Command Line

It can be useful to create sample blank or dummy files of various sizes for testing and other purposes. In Linux, there are different ways to do this from the command line but an easy one for this is to use the fallocate command. This command simply allocates disk space for files based on the size specified. The common syntax for this is : fallocate -l filesize filename The -l parameter is the input...

A Simple Linux Shell Script To Export WordPress MySQL Database

WordPress logo
One of the earlier posts explained how to backup WordPress databases directly through the Linux Terminal. Here is an example of a simple shell script that will ask for the password of MySQL user that has access to the particular WordPress MySQL database to be exported and  dump it into the the directory specified . (To know what are Linux shell scripts and how to make them, please refer to the basic...