Linux - NewbieThis 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!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I often SSH into my linux box from work using PuTTY. If I am not running any port forwarding, PuTTY will often drop (or my server, not sure which the timeout comes from) my connection.
Now if I log in again using SSH, my past session (terminal) is still active.
Example from PS -A:
19669 pts/5 00:00:00 bash
19703 pts/5 00:00:00 man
I would like to be able to resume or at least kill these guys.
1) can I re-attach to these /dev/pts/# "terminals" using ssh?
2) if I cannot re-attach to them and continue where I left off, what is the best way to kill all the processes on "pts/#"? (didn't see an option in kill for this)
Also, while I am posting about hung sessions... I had a "screen" session running, and somehow I locked it up (ctrl-a commands work, but the bash shell in the screen window does not respond. Made sure scroll lock was not on, and tried ctrl-q to wake it up, but no dice. Anyone know of any other way I could have locked up the screen to no respond to commands?)
unfortunately, if you are dropped from putty/ssh session there is no way to reconnect to it (screen is a virtual session and is made for reconnections). You'll have to kill the leftover sessions by using 'ps aux' and killing offending process numbers.