Site search

Site menu:

Tags

Recent favourite

  1. cd cover

dgomes@twitter

Tag: osx

Top 10

Answering Alfredo’s challenge:
My MacBook:

$ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
148 ssh
63 ls
50 cd
29 ping
28 sudo
23 traceroute
21 scp
17 vi
17 ifconfig
15 route

My Linux Workstation:

$ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
111 vi
67 make
66 cd
61 svn
54 ls
39 sudo
22 pwd
10 man
8 grep
7 more

bash in living color

For all of you switchers from Linux to OS X, that cannot live without a bash terminal open 24/24:
You have probably, and sadly, realised that your Terminal does not come with “so nice to have” color tagging of files in your ls command.
Your 1st idea was probably to pickup your old trusty (and awfully hacked) [...]