LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-21-2011, 08:18 PM   #1
vachon
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Rep: Reputation: Disabled
Interacting with running shells (Fedora 15)


Hey all. This is my first post here. I was able to set up SSH and log into my linux machine and I want to interact with shells already running on the desktop. I can locate and view the processes but I'm wondering if its possible to "get into" the program I already have running via SSH and enter commands. Thanks in advance for any advice.
 
Old 06-21-2011, 08:27 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Depends on the program; please specify.
You might also want to look at the screen cmd http://linux.die.net/man/1/screen
 
Old 06-21-2011, 08:31 PM   #3
vachon
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
to be specific, I wish to enter commands into a shell running a JAR file (java runtime environment)
 
Old 06-21-2011, 09:07 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
To add to chrism's post: not unless you have it running under screen,
or some other terminal multiplexer

Last edited by Tinkster; 06-21-2011 at 09:13 PM.
 
Old 06-21-2011, 09:44 PM   #5
vachon
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
the screen program worked great, it was just what I was looking for. Thanks for your advice!
 
  


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] Can all shells read all environmental variables set by other shells? carlodelmundo Linux - Newbie 2 07-23-2010 03:03 PM
[SOLVED] Difficulties running commands in shells from Perl catkin Programming 5 06-24-2010 01:30 AM
[SOLVED] is there any way to have multiple x severs running in different shells? elerek Linux - Newbie 2 05-24-2010 10:29 PM
emacs: running multiple M-x shells? genmaicha Linux - Software 2 04-17-2009 01:41 PM
interacting with prompt quarry_06 Programming 8 08-03-2005 01:24 AM


All times are GMT -5. The time now is 01:58 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