This command will create a 1000 MB file with name “jobnix-speedtest” . So, Make sure you have 1 GB free space before you run this command. Run the following command to test the write speed of the...
Read article →tune2fs -l $(df -P / | tail -n1 | cut -d ‘ ‘ -f1 ) | grep ‘Filesystem created:’
Read article →history -d $((HISTCMD-1)) &&
Read article →!/bin/bash MPATH=0 for i in `ls /sys/class/scsi_host/host*/scan`; do echo “- – -” > $i; done sleep 5 multipath -ll echo -n “enter mpath:” read MPATH pvcreate /dev/mapper/${MPATH} vgcreate -s 32 $VG...
Read article →We often need to add or modify a disk to a running server. In this article, we will see how you can Add new LUN or Disk, or Resize the LUN or Disk on a Linux without a reboot Scenario 1 – Add a new...
Read article →Here is how you can enable USB Mass Storage in CynogenMod 10. Please follow the below steps, Go to, Settings >> Storage, Then hit Menu button. Select USB Computer Connection From the menu. Enable...
Read article →This is how to set a password for mysql root user. Run the following command to set a password `/usr/bin/mysqladmin -u root password ‘new-password’` Once the password is applied, Test it by accessing...
Read article →Ever thought “How to own a Private DropBox” ? Well, If you have an ftp account on your web hosting, You can turn it to your private Dropbox with FTPbox application. FTPbox is an open-source...
Read article →Some times you may need to move your git repository to another account, even between providers such as, github.com, butbucket.org, gitlab.com or even to your own git server. Pre-Requirements Write...
Read article →Sometimes you may reinstall you Windows OS keeping your Ubuntu partitions. But after rebooting you can see that the grub is replaced with the windows boot loader and you no longer will be able to...
Read article →The Evolution of Spam by #DynEdu
Read article →This is how you can use multiple conditions in single if statement, “` #!/bin/bash if [[ ( “$user” != “condition1” ) && ( “$user” != “condition2” ) && ( “$user” != “condition3” ) ]] ; then echo...
Read article →30 minutes, direct with the founder, no sales pitch: one specific recommendation for your AWS workload.