LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2008, 08:35 PM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Rep: Reputation: 34
Switching between different shells, application stops.


Hello,

If I'm running an application for like a long find command and I do a cntl-z I notice that what was running stops and I enter a new shell where I can enter commands etc,

When I return using the FG command what was running there doesn't seem to start running again.

I would like to know how I could switch to a different shell and still have what was running in the previous shell keep running.

Can this be done and if so how?

I a newbie using Centos5.0.

Any help with this will be appreciated.

Thanks
 
Old 02-13-2008, 09:05 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Try screen. You can log out, drive into another city, log in over SSH and it's still there.
 
Old 02-14-2008, 02:23 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by swamprat View Post
Hello,

If I'm running an application for like a long find command and I do a cntl-z I notice that what was running stops and I enter a new shell where I can enter commands etc,

When I return using the FG command what was running there doesn't seem to start running again.

I would like to know how I could switch to a different shell and still have what was running in the previous shell keep running.

Can this be done and if so how?

I a newbie using Centos5.0.

Any help with this will be appreciated.

Thanks
A Ctrl-z pauses execution. To have the job running
in the background use bg<enter> after the Ctrl-z.

Or use screen, as Emerson suggested.


Cheers,
Tink
 
  


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
pitfalls in switching shells? DJOtaku Linux - Software 1 02-05-2008 07:42 PM
Sound stops in certain applications if any other application plays a sound file. gregorian Linux - Software 8 02-27-2007 08:22 PM
Belkin Omniview KVM DVI with USB stops responding when switching back to SuSE Pitcher Linux - Hardware 3 03-15-2006 09:05 AM
KDE 3.3 Bad Monitor Switching on Desktop Switching Inchoate Linux - Software 1 05-25-2005 02:00 PM
VNC Works then stops! Reboot fixes but then it stops again! Leethal Linux - Software 1 02-26-2004 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:49 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
Open Source Consulting | Domain Registration