*BSD News Article 75974


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!op.net!news.mathworks.com!bloom-beacon.mit.edu!cambridge-news.cygnus.com!usenet-ma
From: Michael Graff <explorer@flame.org>
Newsgroups: comp.unix.bsd.misc
Subject: Re: To run programs from prompt...
Date: 12 Aug 1996 02:11:29 -0400
Organization: flame.org:  yes, we do know everything
Lines: 14
Sender: explorer@kechara.flame.org
Message-ID: <v620hdm8ry.fsf@kechara.flame.org>
References: <4ul1eq$927@tribune.usask.ca>
NNTP-Posting-Host: kechara.flame.org
X-Newsreader: Gnus v5.2.36/Emacs 19.31

ab284@sfn.saskatoon.sk.ca (Michal Dworaczek) writes:

> Can anyone tell me how to run progs. from unix prompt for BSD 2.0 system 
> so I don't have to type ./filename  on my account?

This should be in almost all unix newbie books.  Get one.  ;)

Answer:   Add . to your path.

If you run tcsh, for example, add this to .cshrc or .tcshrc:

setenv PATH $(PATH):.

--Michael