Resume broken large scp transfer

Posted by Damodar Bashyal on September 07, 2015


Last few days I was trying to download large database dump on my new mac book pro over a ssh connection. But as soon as the computer goes to sleep it breaks the file transfer. And, I am still figuring out how mac settings work :-(


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