LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: Bash: Handling Command Not Found (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-bash-handling-command-not-found-803861/)

LXer 04-23-2010 06:21 PM

LXer: Bash: Handling Command Not Found
 
Published at LXer:

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.

Read More...

catkin 04-24-2010 08:07 AM

Mmm ... some nice bash snippets there to test whether running in a pipe or a subshell :)


All times are GMT -5. The time now is 04:46 AM.