Find the answer to your Linux question:
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 ...
  1. #1
    Just 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!

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    Quote Originally Posted by PolZom View Post
    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!

    Google or Search on LinuxForums

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...