Wednesday, February 27, 2008

My Top 15 Commands

After some searching I found the command to list your top 10 (or any other number you wanted) commands in the terminal. So here is the command:

history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail -n 15 | sort -nr

and here are my top 15 commands:

85 ls
36 vim
34 hg
32 find
30 cd
16 java
14 pd
14 hist
10 stat
8 zip
8 rm
7 screen
7 scp
6 history
6 echo

Saturday, February 23, 2008

Writing Commitments

It has been a long time since my last actual post here and I have been on and off with my blogs since I started. Today I've decided I want to renew my commitment to writing and improving my skills as a writer. One problem I had imposed upon myself with this blog was that of a format. Being a programmer, I had decided that this blog's format was going to be focused on programming and related thoughts. Obviously, this hasn't been working out so well since I haven't had the time/energy/willpower to write a good technology related post.

So, I have decided that I'm going to remove my self-imposed format and write about whatever I feel is worth writing about. Since this is a new/mostly inactive blog I don't have anyone to upset with this so that won't be a problem. And as I improve my writing skills and learn what I like to write about, I imagine that my posts will become more focused over time.

So with that, I hope to start writing at least weekly about whatever comes to my mind. Hopefully anyone who comes across my writing will find some value out of it and I'll find plenty of value in simply writing anything.

What's in your PS1?

My friend John found an interesting discussion on Reddit about PS1. His PS1 can be found here.

Mine is:
PS1='\[\033[34m\]\u@\h (\t) \[\033[36m\]\w\[\033[37m\]\n\$ '

Which looks like:
samerrel@ravenholm (12:00:47) ~
$

and colorized: