How to run programs from a different directory in unix

Posted by user1067358 on Super User See other posts from Super User or by user1067358
Published on 2011-11-26T22:39:39Z Indexed on 2011/11/27 9:55 UTC
Read the original article Hit count: 238

Filed under:
|

I know this is a very simple question, and that many similar (but more complicated!) questions have been asked- So i wanted to ask this in a very plane manner. Sorry if this voids the rules of conduct on this website! I'm very new to using unix.

I have a program that converts a ".evt" file to an .rq1, which is used for data analysis. The command to do so is simple, for example: Convert data.evt (this outputs data.rq1).

This program, let's say, is located in directory /A and I have a data file that I want to convert in directory /B. How would I go about executing this program without moving the convert program to directory B?

© Super User or respective owner

Related posts about unix

Related posts about directory