LinuxQuestions.org
Review your favorite Linux distribution.
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 02-08-2002, 03:47 PM   #1
adefont
LQ Newbie
 
Registered: Feb 2002
Location: Fot Lauderdale
Posts: 1

Rep: Reputation: 0
Placement of system scripts


I am a new user to Linux and was wondering:
Where can I place a system script so it can be accessed from any directory?
Any response will be greatly appreciated.
A.Defontes adefont@aol.com
 
Old 02-08-2002, 08:19 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
accessed by who?


you can simply put it anywhere you want and create a link to it in the users path

echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin



ln -s /anyfolder/script /usr/bin/execname


to run it type

execname

Last edited by DavidPhillips; 02-08-2002 at 08:20 PM.
 
  


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
running perl scripts very system start abdul_zu Programming 16 09-26-2005 02:55 AM
bash scripts which go bump in the night and the system resources who hate them dehuszar Programming 16 07-08-2004 04:24 PM
Where is the automatic module loading scripts at system Boot? captainstorm Linux - Software 1 07-02-2004 09:17 PM
placement of startup scripts abyss Linux - Security 4 06-05-2002 05:25 PM
System update scripts? tarballedtux Linux - General 4 01-13-2002 04:16 PM


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