LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2012, 10:09 AM   #1
kyle7042
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Rep: Reputation: Disabled
Unhappy 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!
 
Old 04-27-2012, 10:17 AM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,454

Rep: Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052
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?

Last edited by suicidaleggroll; 04-27-2012 at 10:18 AM.
 
Old 04-27-2012, 10:20 AM   #3
kyle7042
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
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?
 
Old 04-27-2012, 10:22 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
If the "shortcut" is a "launcher" then its properties include the command it runs
 
Old 04-27-2012, 10:22 AM   #5
roger_heslop
Member
 
Registered: Oct 2009
Location: Leander, TX
Distribution: Fedora 20
Posts: 97

Rep: Reputation: 35
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.
 
Old 04-27-2012, 10:25 AM   #6
roger_heslop
Member
 
Registered: Oct 2009
Location: Leander, TX
Distribution: Fedora 20
Posts: 97

Rep: Reputation: 35
Apparently I'm slow. Try:

'find / -name *[search_query]*'
 
Old 04-27-2012, 10:54 AM   #7
kyle7042
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
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 !!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] udev to run script not behaves like when run in terminal matiasar Linux - Software 6 04-17-2012 07:56 AM
.run programme leighroy Linux - Software 7 12-09-2010 01:57 PM
[SOLVED] Run X server (or equivalent) for a single programme Snark1994 Linux - Software 2 10-14-2010 11:12 AM
How to run MP3 file thru Terminal in K.D.E or Terminal itz2000 Linux - Newbie 5 08-04-2005 09:49 PM
how can i run jsp programme in redhat linux 9 dineshgarg Red Hat 0 07-21-2005 02:11 AM


All times are GMT -5. The time now is 01:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration