Monday, February 03, 2014

ll on OSX

Was frustrated OSX didn't feature ll (list long a.ka. ls -al) out of the box after I did my Mavericks reinstall. I'm sure there are lots of guides out there about how to setup an alias and all that but I simply created a bash script to remedy the issue.

Time to fire up nano...


jareds-air:~ jared$ cd /usr/bin
jareds-air:bin jared$ sudo nano ll
Password:

Now for a side of copypasta...

#!/bin/bash
ls -al

Executable...

jareds-air:bin jared$ chmod +x ll

Success

No comments: