Skip to content

Instantly share code, notes, and snippets.

@benhamill
Created February 21, 2012 04:47
Show Gist options
  • Save benhamill/1873747 to your computer and use it in GitHub Desktop.
Save benhamill/1873747 to your computer and use it in GitHub Desktop.
#!/bin/bash
first=${1:0:1}
rest=${1:1:10000}
ps aux | ack "[$first]$rest"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment