![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to make a script to run everytime a new file is copied into a directory?? | ks_reddy | Shell Programming and Scripting | 2 | 04-15-2009 10:58 AM |
| How Can I Make Subdirectories In A Directory? | kprescod4158 | Shell Programming and Scripting | 7 | 12-04-2007 09:15 PM |
| make directory script | malaysoul | Shell Programming and Scripting | 0 | 02-11-2007 11:10 AM |
| Need script to make big directory structure | kamur | Shell Programming and Scripting | 2 | 11-07-2005 07:48 PM |
| how do i make a new directory? | raichuu | UNIX for Dummies Questions & Answers | 3 | 03-25-2002 01:52 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Make a script accessible from any directory
I wrote a small fortran program that I want to control with a bash script. The bash script builds a parameter file that is used by the fortran program. I want to make it so I can access the script from any directory on my computer. How do I do that? Or what key words should I search for to find the answer?
Thanks for the help |
|
|||||
|
Whatever directory you put the script in, add it to the user's PATH, or else install the script in a directory already in the user's path (e.g. /usr/local/bin ?), the script will need to ensure that the parameter file is created where the user calling has permission to write to so /tmp, /var/tmp or ${HOME} are the usual choices, the Fortran program will therefore need to look in that pre-agreed location!
|
![]() |
| Bookmarks |
| Tags |
| global accessible |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|