Page 1 of 1

executing programs from terminal in sudo? -How?

PostPosted: Fri Oct 19, 2007 4:00 pm
by DaddyX3
If anybody could explain to me a simple way to find out how to run programs in sudo I would greatly appriciate it. (ie., typing in to terminal to find out executable file name for a specific program, how would I find out the name?) Thank you in advance!

Re: executing programs from terminal in sudo? -How?

PostPosted: Sat Oct 20, 2007 5:03 am
by betrion
almost all linux applications are located in /ur/bin directory
in terminal you could do cd /usr/bin and then type ls to list all applications in that directory
then just sudo appname
But if you already know the name of the app you dont have to cd to usr/bin, you can just open terminal and type sudo appname right away, or press alt+F2 an type program name. I hope i helped a bit.

Re: executing programs from terminal in sudo? -How?

PostPosted: Sat Oct 20, 2007 8:34 am
by TheeMahn
betrion wrote:almost all linux applications are located in /ur/bin directory
in terminal you could do cd /usr/bin and then type ls to list all applications in that directory
then just sudo appname
But if you already know the name of the app you dont have to cd to usr/bin, you can just open terminal and type sudo appname right away, or press alt+F2 an type program name. I hope i helped a bit.



There is nothing I enjoy more then seeing a fellow user help a fellow user, Thanks betrion.

Re: executing programs from terminal in sudo? -How?

PostPosted: Sat Oct 20, 2007 5:25 pm
by DaddyX3
Thank You betrian! The sad thing is that I allready knew ho to cd /xxx/xx ls, but I was to dense to realize that is what I needed to do. I still have to get used to identifying executable files - I'm from Vista and and long background of microsoft :oops: Thank you once again!