Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

hey, i noticed that whenever I execute *.bin files, it is needed to run command setenv PATH...

Can anybody explain me what is the usage of this command? cheers

share|improve this question
What do you need to set the path to? – bryan Aug 4 '10 at 14:32
so that I can execute my file anywhere, though, I found out for my linux i gotta write: export PATH=... – user44509 Aug 4 '10 at 14:49
up vote 1 down vote accepted

It's modifying the system path. This controls where the system checks for executables. The path is a colon-separated list of directories; the system will check each, in order, until it finds the executable you run. If none contain it, you will get a "command not found" error.

share|improve this answer
is that look like I could run/call my executable file(for that specific software) anywhere? – user44509 Aug 4 '10 at 14:39
Yes, you can run a file from anywhere if it's in a directory in your PATH. – Matthew Flaschen Aug 4 '10 at 14:39
if it's not in the PATH you can run it using it's full or relative path: in current directory a relative path could then be ./exectutablefile or full path /home/theuser/myexectuablefile – Joakim Elofsson Aug 4 '10 at 16:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .