Bash: Handling Command Not Found

Posted by Scott_Ruecker on Apr 23, 2010 5:13 PM
By Linux Journal
Mail this story
Web version

After a recent O/S version upgrade (to openSUSE 11.2) I noticed that bash started being a bit more intelligent when I did something stupid: it started giving me a useful error message when I typed the name of a command that wasn't in my PATH but that was in an "sbin" directory. My reaction at the time was "huh, that's nice", but today I decided I needed a bit more information.

Full Story

Printed at http://lxer.com/module/newswire/view/134745/index.html