This article is from the the Brief Linux FAQ (BLFAQ) Maintained by Neil Zanella firstname.lastname@example.org
ls -l mumble -rwxrw-r-- 1 me user 104 Feb 14 15:46 mumble
but when I type mumble at the command prompt I get the response:
bash: mumble: command not found
Most probably the current directory (CWD) is not in your path. The best thing to do in such situations is probably to type the full path to the script/program followed by the name of the script/program . If you are work in a directory that you alone use and which is not shared then you might want to take the risk of editing your PATH variable to contain CWD. Alternatively you could keep all your executables in a directory called ~/bin and put it in your path. You can look at your path by typing echo $PATH at the shell prompt.
echo $PATH /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/me/bin