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 |
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? ????????????????????????????????????????????????????????? |
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?
|
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). |
fg was what I was looking for - thank you very much :D
|
All times are GMT -5. The time now is 08:27 AM. |