LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2004, 01:35 AM   #1
poiuytrewq
Member
 
Registered: Jul 2004
Posts: 107

Rep: Reputation: 15
adding to $PATH


how do i perminintly add to my bash $PATH? it does not have /usr/sbin so it is a bit of a pain every time i want to run something from there.

thanks
 
Old 10-27-2004, 02:05 AM   #2
thrice
Member
 
Registered: Apr 2003
Location: ft worth tx
Distribution: Gentoo 2005.0
Posts: 108

Rep: Reputation: 15
export PATH=$PATH;/usr/sbin should do it

actually....i'm having a brain fart and can't remember whether the directories in path are delimited with a ; or a : run 'set' in console and see what are in between the directories in the PATH variable.. i'd take a quick look right now, but i'm not at my computer.

Last edited by thrice; 10-27-2004 at 02:09 AM.
 
Old 10-27-2004, 02:08 AM   #3
dugas
Member
 
Registered: Jul 2004
Location: louisiana
Distribution: fedora 4/kubuntu
Posts: 116

Rep: Reputation: 15
edit .bashrc
 
Old 10-27-2004, 02:32 AM   #4
poiuytrewq
Member
 
Registered: Jul 2004
Posts: 107

Original Poster
Rep: Reputation: 15
thanks

ps its colon not semi-colon
 
  


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
Adding a PATH in SuSE 8.2 Nokia Linux - Software 1 08-25-2004 04:54 PM
adding to path hamish Linux - Software 8 02-05-2004 11:03 PM
Adding to the $PATH chri5 Linux - Newbie 8 11-14-2003 11:38 AM
Adding an entry to the PATH Pimple Solaris / OpenSolaris 6 09-25-2003 01:40 PM
adding to $PATH snocked Slackware 17 08-26-2003 01:12 AM


All times are GMT -5. The time now is 03:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration