Path command
Stephen
stephen_o at bell.net
Fri May 3 19:33:38 UTC 2013
On Fri, 2013-05-03 at 15:21 -0400, Gene Heskett wrote:
> On Friday 03 May 2013 15:20:33 Stephen did opine:
>
> > On Fri, 2013-05-03 at 08:31 +0100, Colin Law wrote:
> > > On 3 May 2013 06:54, Stephen <stephen_o at bell.net> wrote:
> > > > It seems like my path variable in Ubuntu 12.04 got corrupted some
> > > > how. Programs that I used to start in a terminal are saying path
> > > > not found or /dir/dir/dir/ is not in the path
> > > >
> > > > When I type path in the terminal it says path not found. I thought
> > > > it was like dos and when you typed a variable in the terminal it
> > > > told you what the setting for that variable is.
> > > >
> > > > Is there some way I can restore the path variable?
> > >
> > > echo $PATH
> > > to see what it is
> > >
> > > Colin
> >
> > Thanks for your reply
> >
> > The $PATH says: /usr/local/bin:/usr/bin:/bin:/usr/games
> >
> > It said it couldn't start Samba because /usr/sbin isn't in the path. I
> > tried something I found on the Internet but it didn't work
> > Name at Name:~$ Path=$PATH:/usr/sbin
> > Name at Name:~$ export path
> >
> > But it didn't work.
>
> This stuff is case sensitive. Look carefully at what you wrote above.
>
> Cheers, Gene
> --
> "There are four boxes to be used in defense of liberty:
> soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
> My views
> <http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml>
> Appearances often are deceiving.
> -- Aesop
> A pen in the hand of this president is far more
> dangerous than 200 million guns in the hands of
> law-abiding citizens.
>
Thanks. I tried the grep command that I was given and /usr/sbin is in
the path. I don't understand why it won't start samba.
More information about the ubuntu-users
mailing list