Find the answer to your Linux question:
Results 1 to 2 of 2
I was trying to run a program located at /home/keelerm/Programs/tads2/src from /home/keelerm/. I got that "bash: src command not found" error. In my PATH, I have /home/keelerm/Programs which I thought ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    25

    Path Question


    I was trying to run a program located at /home/keelerm/Programs/tads2/src from /home/keelerm/. I got that "bash: src command not found" error. In my PATH, I have /home/keelerm/Programs which I thought would suffice. So, I was wondering if there is any way to fix this without manually installing every subfolder I want to be able to reference.

    As of now, I just added a little information to .bashrc, having it call a perl script I wrote which traverses /home/keelerm and adds all the directories to the path...And I know that's probably not the best fix.

  2. #2
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803

    Re: Path Question

    Quote Originally Posted by Rahl
    I was trying to run a program located at /home/keelerm/Programs/tads2/src from /home/keelerm/. I got that "bash: src command not found" error. In my PATH, I have /home/keelerm/Programs which I thought would suffice. So, I was wondering if there is any way to fix this without manually installing every subfolder I want to be able to reference.

    As of now, I just added a little information to .bashrc, having it call a perl script I wrote which traverses /home/keelerm and adds all the directories to the path...And I know that's probably not the best fix.
    Perhaps symbolic linking will serve the need. Look here http://www.die.net/doc/linux/man/man1/ln.1.html

Posting Permissions

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