Linux commands to empty all files of a directory

Posted by Damodar Bashyal on August 25, 2015


Below are few commands to empty content of a file that already exists in a directory.


Synchronizing system clock to Network Time Protocol (NTP) issue

Posted by Damodar Bashyal on June 04, 2015


When I was trying to connect to s3bucket from my local it failed and the reason I found was my system time was bit behind.

the NTP socket is in use, exiting


How to increase virtualbox hard disk partition size

Posted by Damodar Bashyal on March 16, 2015


Today When I was importing large database I was getting error that there is not enough space after half of the database was imported. When I checked space it was showing 100% used. Even though I had dynamic space allocated, it was not increasing beyond 37GB. After going through few forums I managed to combine all tips & tricks and apply them to increase my oracle virtualbox ubuntu main partition.