Tagfiles

How To Automatically Remove error_log Files

H

Apache has great logging features, but if you’re using shared hosting, then sometimes removing error_log files might not be very simple. Poking around the Internet did lead me to Lester’s site, where he has generously created and offered an error_log file cleaning script for free. Grab that script here. Just upload that script to your web server, run it, and any error_log file that it...

How To Print The List of Files in a Folder on the Mac

H

Sometimes you just need to print out the list of files in a particular folder. While I was on Windows, sometimes I’d just take a screenshot of the folders’ contents, but when I had to print it out or when the folder’s contents were too much, I had to use a third-party software just to accomplish this. On the Mac, you have Automator! Automator allows you to get the contents of...

How To Make and Run Batch Files In Terminal In Mac OSX

H

I use batch files sometimes when I was using Windows because it saves a lot of time when you need to run a batch of commands frequently. With a batch file, you save all the commands into one file, and just run the batch file, instead of your gazillion commands individually. I was facing the same situation in Mac OSX when I realised that I didn’t know how to create a batch file in Mac OSX...

About Author

I've over 17 years of entrepreneurship experience, having built a tech company to be the top in the country, which was subsequently acquired for an 8-figure sum. As CEO, I led the company through robust growth to 150 employees across 4 countries. After the acquisition, I embraced minimalism, sold off my personal possessions, and started living around the world.

Read more about my story here.