LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-10-2003, 09:04 AM   #1
dwpondscum
LQ Newbie
 
Registered: Apr 2003
Location: Oklahoma
Distribution: Redhat
Posts: 25

Rep: Reputation: 15
Edit User Command Path


Could someone please tell me how to edit the shell command path for a user and the root user in SuSE 8.1? I have recently complied several programs and would simply like to type in commands rather then the directory and the command.

Any information would be greatly appreciated!

Thanks!

___________________________

David

It takes a EE (Electrical Engineer) to spell gEEk!
 
Old 06-10-2003, 09:16 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
either edit their /home/user/.bashrc file or edit the global /etc/profile
 
Old 06-10-2003, 10:51 AM   #3
0x4B
Member
 
Registered: May 2003
Location: Nashville TN, USA
Distribution: Debian (I'm unstable)
Posts: 117

Rep: Reputation: 15
a more general solution would be to place the new programs in a standard location (such as /usr/local/bin) which is commonly part of the command path. this will help to keep things a little more orderly (and from getting lost)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
edit value of PATH permanently rsumbeling Linux - General 2 12-13-2004 10:57 AM
How do I edit my path? Echo Kilo Linux - General 3 12-12-2004 01:50 PM
How to edit default PATH? davidas Linux - Newbie 2 03-20-2004 05:34 AM
How to edit the value of $PATH? ICO Slackware 1 02-07-2004 04:38 AM
how do i edit my echo$PATH Laptop2250 Linux - Newbie 6 11-15-2003 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 09:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration