LinuxQuestions.org
Register a domain and help support LQ
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-02-2003, 06:28 PM   #1
Bellrang
LQ Newbie
 
Registered: May 2002
Posts: 6

Rep: Reputation: 0
Exit man, switch processes


Couple of quick questions...

1. How do I really exit out of a man session. Usually, I ctrl-z out and then kill the process. There's got to be a better way...

2. Let's say I switch out of a process (like a MySQL session) and then want to switch back to it...how?

Thanks for the help
 
Old 04-02-2003, 06:42 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
1. You can press the letter q or you can do ctrl-c

2. What do you mean by switch out of a process? Do you mean if you login to MySQL and then logout how do you log back in?

?????????????????????????????????????????????????????????
 
Old 04-02-2003, 06:59 PM   #3
Bellrang
LQ Newbie
 
Registered: May 2002
Posts: 6

Original Poster
Rep: Reputation: 0
No, let's say I do a ctrl-z out of it. The process is still running. Can I get back to it? Does this work like the "Alt-Tab" in Windows?
 
Old 04-03-2003, 08:40 AM   #4
0x0001
Member
 
Registered: Sep 2002
Distribution: Slackware 8.1
Posts: 84

Rep: Reputation: 15
If you CTRL-Z out it is no longer running, it is suspended.
You can keep it running in the background if you type in bg.
You can get back to the process by using fg.
You can list the processes running in the back with jobs.

All of these commands should be described in the man page of your shell. I know they work with bash(1) and tcsh(1). I don't know how this works with different shells.


If you do this a lot i suggest that you look at screen(1).
 
Old 04-03-2003, 10:15 AM   #5
Bellrang
LQ Newbie
 
Registered: May 2002
Posts: 6

Original Poster
Rep: Reputation: 0
fg was what I was looking for - thank you very much
 
  


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
exit a man page? gnuoob Linux - Newbie 2 08-27-2005 01:39 PM
does exiting window managers exit your processes? DJOtaku Linux - General 2 08-16-2005 12:21 PM
man pages: how to exit? KlaymenDK Linux - Newbie 2 06-25-2004 08:03 AM
Exit man (elegantly) verstapp Linux - Newbie 2 03-01-2004 07:29 PM
User processes not killed on exit ugenn Linux - General 5 04-25-2002 02:19 PM


All times are GMT -5. The time now is 08:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration