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 :-(
Below are few commands to empty content of a file that already exists in a directory.
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.