Benjamin W. Smith

Benjamin W. Smith

Benjamin W. Smith  //  Sysadmin by trade, Pythonista by passion. Dad to two boys and a girl. Guitarist. I like my coffee black, just like my metal.

Sep 17 / 12:50am

Gone fishing for a shell

I’ve recently decided to evaluate other shell’s and ran across one that looked interesting: fish.

You can read more about fish: here and here

Based on what I’ve seen I’ve decided to try it out. Before I dive in too deep with fish, does anyone have any opinions, caveats, issues to mention about it?

If I don’t like it I’ll keep trying out zsh but most likely end up back in bash :)

Filed under  //  bash   fish   linux   shell   zsh  
Apr 9 / 11:16pm

Let's keep it going for the fun of it.

Matt showed up in my reader with this which I discovered is quite noisey on the intertubes right now. Here's my top ten.. Explanation below.

bsmith@ops654 [02:04:47 (0.00)] ~ 
-> history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
225 winto
82 ls
70 ssh
66 vi
65 checkuus
64 mssh
54 dig
53 cd
50 ping
41 cat

  1. winto is a wrapper for screen that does this: screen -t $1 ssh $1.
  2. I have to know what I'm looking at.
  3. I'm a sysadmin, I'm all over the place.
  4. Sysadmins write code and manage config files too.
  5. A script that checks pool of servers that can cause some problems in our enviroment.
  6. "mass ssh" do cool stuff on bunches of servers (must have in my world)
  7. "What the hell is this ip?!"
  8. Moving around..
  9. "Is that server alive?!"
  10. /dev/urandom ?

Filed under  //  geek   linux   shell