[Eug-lug] Dos path= equivalent

Jason chanjb at yahoo.com
Mon Aug 2 18:11:29 PDT 2004


It depends on the shell you're using, but in bash I'll
do something like:

$ PATH=/bin

$ export PATH

$ echo $PATH

$ /bin

Course to make it persistent, you'll want to edit the
appropriate initialization file for the shell you're
using.

Jason

--- Bill Essig <bill at rpgopher.com> wrote:

> Hi, Im new. My name is Andrew.  I have to type
> ./sbin/ifconfig or
> /sbin/ifconfig etc. etc.  In dos (shudder) there is
> a path variable where
> you can type in a default path I.E. /sbin /usr/bin
> etc. so I dont have to
> type the path or be in the directory.  I dont know
> how I killed it, but it
> won work anymore. Help?
> 
> -Andrew
> _______________________________________________
> EUGLUG mailing list
> euglug at euglug.org
> http://www.euglug.org/mailman/listinfo/euglug
> 



	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 


More information about the EUGLUG mailing list