how to execute binaries located in a different directory
Hello , i am a newbie in writing unix scripts:
I have a file with a list of arguments like: ./a arg1 arg2 arg3 ./b arg1 arg2 arg3 . . . ./n arg1 arg2 arg3 but these binaries (a,b,..etc) are in a different sub directory from where the above file is located. How do I write a script that will pick up each line from the file and execute it. |
Something like this (substitute "my/xyz/dir" for your actual path):
Code:
EXE_DIR=/my/exe/dir |
Thanks so much... that was helpful :)
|
All times are GMT -5. The time now is 11:51 PM. |