[COMP] Re: PATH in Linux

> Do any of you know how to set(or add to) the PATH
> in Linux?
> I am just getting started using Linux Mandrake 7
> 2.2.19 and I have accidently overwritten the PATH
> settings!

use setenv for C-like shells, export for sh-like ones.

> I was using setenv, and I even edited rc.sysinit in
> the /etc folder to update the PATH, but neither have
> worked.

Have you tried logging back out/in?  Environment settings are controlled 
by system config files in /etc.  /etc/profile for most people.

John



-- 
# John Madden  weez@xxxxxxxxxxxxx ICQ: 2EB9EA
# FreeLists, Free mailing lists for all: http://www.freelists.org
# UNIX Systems Engineer, Ivy Tech State College: http://www.ivy.tec.in.us
# Linux, Apache, Perl and C: All the best things in life are free!

========================================
Avenir Web's Computers Mailing List

List Modes, Subscription, and General Info:
Go to http://www.freelists.org/cgi-bin/webpage?webpage_id=11 
List Archives: http://www.freelists.org/archives/computers
Administrative Contact: weez@xxxxxxxxxxxxxx

Get computer help: http://avenir.dhs.org
========================================

Other related posts: