*BSD News Article 57860


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!zombie.ncsc.mil!nntp.coast.net!howland.reston.ans.net!blackbush.xlink.net!news.uni-mainz.de!news.th-darmstadt.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Need help on repairing Shell acct on a bsd machine
Date: 2 Jan 1996 22:39:44 GMT
Organization: Private BSD site, Dresden
Lines: 27
Message-ID: <4ccc7g$gsc@uriah.heep.sax.de>
References: <4c98v5$t1b@news.iii.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

drgrant@kilrah.iii.net writes:
> I currently have a shell account on a bsd machine, and I think the
> path got messed up or something because none of the local programs
> work; all I get is "Command not found" etc.....   I know there's a way
> to set paths, but not sure how...

For Bourne-like shells:

	PATH=/bin:/usr/bin; export PATH

For csh-like shells

	setenv PATH /bin:/usr/bin

(or, functionally equivalent:)

	set path = ( /bin /usr/bin )

This should get you up&running to the point where you can use the
`man' command again. >:-)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)