script in ~/bin
Karl Goetz
karl at kgoetz.id.au
Wed Feb 20 11:30:30 GMT 2008
On Wed, 2008-02-20 at 22:21 +1100, Sebastian Spiess wrote:
> Karl Goetz wrote:
> > On Wed, 2008-02-20 at 20:49 +1100, Sebastian Spiess wrote:
> >> is is correct that I have to replace
> >>
> >> #!/bin/sh
> the script I was talking about is only mounting a partition and a crypt container off one of my external drives.
> So it is no big conplex script.
>
> Maybe I missed something else, because when I try to run the script
>
> x at y:~$ froff
> bash: froff: command not found
>
>
> is the answer.
> I have a couple of other scripts with similar symptoms.
check your path with `echo $PATH`.
it should return something like this:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/home/<yourlogin>/bin/
If it doesnt, add `PATH=$PATH:$HOME/bin/` to your ~/.bashrc
kk
--
Karl Goetz,
Debian user / Ubuntu contributor / gNewSense contributor
http://www.kgoetz.id.au
More information about the ubuntu-au
mailing list