LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 06-14-2004, 12:43 PM   #1
Boby
Member
 
Registered: Feb 2004
Location: Sighisoara/Cluj-Napoca (Romania)
Distribution: CentOS 4, Fedora Core 6
Posts: 781

Rep: Reputation: 31
put my scripts to PATH


Hello!

I wrote some scripts and copied them to /home/boby/scripts. Now I want to run them directly from the shell and not /home/boby/scripts/script1.sh or when I'm in the current directory to use ./script1.sh. I want to write only script1.sh whereever I am and it should start. To copy them to /usr/bin ... I don't want it.

Thank you!

Boby

Last edited by Boby; 06-14-2004 at 12:44 PM.
 
Old 06-14-2004, 01:01 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,152

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Add desired path to the ~/.bashrc
http://www.linuxquestions.org/questi...ht=path+bashrc
 
  


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
Where do I put my cgi-bin scripts? BrianK Linux - Software 2 10-12-2005 11:59 PM
Where to put mldonkey scripts? Aioth Slackware 2 06-19-2004 09:29 AM
Where to put protected scripts in Apache GoTrolling Linux - Software 4 01-16-2004 02:04 PM
How do I put my programs in my PATH? grenal Linux - Newbie 2 10-12-2003 04:08 AM
How do i put a C compiler in my $PATH BajaNick Programming 4 10-08-2003 04:33 AM


All times are GMT -5. The time now is 01:15 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration