Ways to run a program...
Heh, keep in mind im a :newbie:
The olny way i know of running progarms is sh. Recently i installed Mudix a mud program for text based games. The readme says type "mudix <site> <port>" i filled in the fields and entered it, it said command not found. In the terminal the mudix file shows up as green. So, i tried "sh mudix" witch diddent work. So now what? any help would be grand thanks =] |
use "ls -l" to check if its executable
could try ./filename to tell shell to execute in current directory... |
heh somone told me there was no differnce in
./ and sh thanks =] |
you can't execute binaries with "sh"
|
should add that the "./" is just telling the shell where to look for the file - that presumes the file is in the pwd when you run it
you could also use the full absolute path (eg, /home/richard/progs/filename) or you could create a link to the executable in a dir. that is in your path. check your path by typing "env" |
All times are GMT -5. The time now is 06:15 PM. |