LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do i run a programme from the terminal? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-run-a-programme-from-the-terminal-942103/)

kyle7042 04-27-2012 10:09 AM

How do i run a programme from the terminal?
 
Ok so i have installed shh on my linux mint pc, and i can access the terminal from my windows laptop sucessfully. Now i need to run a programme which is on my linux via my windows laptop using the terminal but i dont know what i enter can anyone help pleasee?
Thanks!

suicidaleggroll 04-27-2012 10:17 AM

If it's in your path, you just type its name
If it's not in your path, you'll have to give the full path to it (IE: /usr/bin/program)

It's the same as if you're sitting at the linux box using the terminal. The only complication would be X programs, in which case you'll need an X server running on the Windows laptop in order to launch them.

What are you trying to run?

kyle7042 04-27-2012 10:20 AM

HI thanks for the swift reply. Im not sure if its in my path or not to be honest. I am trying to run a browser based opensource database which i have downloaded. I have to shortcut to it on my linux dektop, but not sure where its actual location of the file is!! How can i find this?

catkin 04-27-2012 10:22 AM

If the "shortcut" is a "launcher" then its properties include the command it runs

roger_heslop 04-27-2012 10:22 AM

Most commands should be in your path, typically /usr/bin. You can find out which directories are in your path by typing 'echo $PATH', and by visiting those directories you can see the programs available. If you are needing anything that requires the GUI, VNC may be more appropriate.

roger_heslop 04-27-2012 10:25 AM

Apparently I'm slow. Try:

'find / -name *[search_query]*'

kyle7042 04-27-2012 10:54 AM

Thats great i will try that guys but now ive run into another problem! Just tried booting up my linux pc. The initial stuff comes up (all the white writing on the black screen) but then nothing it doesnt take me to the log in page!! was working fine last night !!


All times are GMT -5. The time now is 07:52 AM.