You are not logged in.
Pages: 1
Hi I have an executable which I can execute from XFCE but I dont know what command to use from the terminal to execute it (to get debug information)
Offline
common sense and <tab> usually works for me.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
when I navigate to the correct directory and type in the name of the application it just says 'command not found'
Offline
Have you tried
chmod +x "filename"
, if it is not executble? Or running it with ./"filename" ?
Last edited by miau (2009-07-17 22:40:58)
Offline
thanks,
I noticed that you have to be in the files parent directory instead of the same directory
Offline
It's probably a path issue, then; try "./cmd_name" when in the same directory instead of just "cmd_name".
-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/
Offline
Also, be wary of hidden white space. Maybe there's a space at the end of the command, if you still can't get to it.
Offline
Have you tried
chmod +x "filename"
, if it is not executble? Or running it with ./"filename" ?
If he can execute it from within Xfce, I doubt it still needs to be made executable.
thanks,
I noticed that you have to be in the files parent directory instead of the same directory
No you don't .
Not being able to run executable files in the same directory as you are in is a security measure.
You can always do ./$executable as said before, or, if it's a script, call the interpreter to execute it:
sh $script.sh
python $script.py
perl $script.pl
and so on.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
miau wrote:Have you tried
chmod +x "filename"
, if it is not executble? Or running it with ./"filename" ?
If he can execute it from within Xfce, I doubt it still needs to be made executable.
Shame on me...overread it
Offline
Pages: 1