Christopher Murtagh

Christopher Murtagh

Ponderer, feminist, musician and dad.

  • Home
  • About

Bash

Clever bash hack

Posted on April 20, 2012 by Christopher Leave a comment
I stubled across this from a colleague at my new gig: #!/bin/bash if uname -r | { IFS=.- read -r a b c _; [ "$((a*10000+b*100+c))" -lt 20622 ]; }; then echo 'Your kernel is too old!'; else echo 'Your kernel is 2.6.22 or newer!' fi... Read More

Recent Posts

  • Ageism, Aging and Getting Old in Tech
  • Action Bronson and hip-hop’s problem with misogyny
  • Snarky Puppy Live in Montreal
  • I hate sushi (or so I thought)
  • Today is day 60! Tomorrow, day 1 of 72

Recent Comments

  • Christopher on About
  • Patrick Downs on About
  • Dave Simmons on To all proselytizers
  • Music I wrote as a teenager | Christopher Murtagh on Student, again!
  • Action Bronson and Hip-Hop’s Problem with Misogyny - on Action Bronson and hip-hop’s problem with misogyny

click to read

Levii theme, by Kaira