---

How to enable colorized output for the ls command in Mac OS X Unix Terminal

I am new to Apple OS X. How do I enable colorized output for my ls command on Apple Mac OS X just like the ones that shown on my Ubuntu Linux server? How do I configure Mac OS X Terminal app to have color ls output?

You can enable colorized output by passing the -G option to ls command on Apple Mac OS X or FreeBSD operating system. You don’t have to install anything special. Just pass the -G option to the ls command.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis