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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-14-2008, 03:13 PM
|
#1
|
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: 569
Rep:
|
Returning to a stopped shell.
I had to switch to a new shell using the cntl_Z command and this worked. I was editing the item below. Now I'm finished with the current shell and would like to return to the previous shell but I don't know how...
Can anyone shed some light on this ... thanks.
[root@centos5 ~]# jobs
[1]+ Stopped vi /etc/postfix/main.cf
|
|
|
01-14-2008, 03:34 PM
|
#2
|
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: 569
Original Poster
Rep:
|
What I'm saying here is that I use cntl-z to open up a new shell so how do I get back to the first one?
|
|
|
01-14-2008, 03:40 PM
|
#3
|
LQ Newbie
Registered: Nov 2007
Location: NJ
Distribution: Debian
Posts: 7
Rep:
|
I could be wrong but I believe the command is fg
I'm pretty sure ctrl-z moves the current process to the background. Using fg will move it back to the foreground. Let me know if that works for you.
|
|
|
01-14-2008, 04:17 PM
|
#4
|
Member
Registered: Aug 2001
Distribution: Too many.
Posts: 102
Rep:
|
Quote:
Originally Posted by jakefolger
I could be wrong but I believe the command is fg
I'm pretty sure ctrl-z moves the current process to the background. Using fg will move it back to the foreground. Let me know if that works for you.
|
this should be it.
as an addition, google up screen, as it offers better options for this.
|
|
|
01-14-2008, 04:38 PM
|
#5
|
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: 569
Original Poster
Rep:
|
Thanks All,
Yes 'fg' did it.
|
|
|
All times are GMT -5. The time now is 12:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|