Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'As an alias...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
As an alias...
Authored by: aranor on Jul 29, '02 04:40:43PM
Gah! The dreaded slashes bug strikes again! The preview made it look correct, but the submission had an extra slash. I'll attempt to post the code again. If it doesn't work, just remember that it's supposed to be one slash before the $1.
alias kdock kill '`'"ps -xaco pid,command |
  egrep -x '[[:space:]]*[[:digit:]]+ Dock' | awk '{print "\$1"}'"'`'
(split into 2 lines for easier viewing)

[ Reply to This | # ]