Results 1 to 2 of 2
I work on a server and another user has a bin folder where a whole bunch of shell scripts and perl scripts are that I need. I currently have to ...
- 02-02-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 1
Newb needs help .bashrc settings
I work on a server and another user has a bin folder where a whole bunch of shell scripts and perl scripts are that I need. I currently have to either go to his bin folder in the terminal or copy them somewhere in my folders.
I want to set it up so I can be in my data folder and do something like:
./perlscript ARGV[0] ARGV[1]
where the ARGV files are in the folder I am currently in and the perlscript is in the other users bin folder.
I also would like to be able to use that command for scripts in my bin folder without having to execute them from there. (saves typing out the arduous /home/usr/data/etc...)
I am guessing it has to do with the PATH in .bashrc, but I have no idea!
Any help would be greatly appreciated! Thanks in advance!
- 02-02-2009 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695


Reply With Quote
