Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
I like doing some work using console. Using Alt+F to switch between consoles is pretty convenient, however this means you have to login to every console separately. Is there a way to login to several consoles at once?
Screen does that, and much more. I usually have about eight console sessions and only one login.
You can also 'detach' all the sessions and they'll run in the background, even if your connection dies, your X-Server dies, or whatever. You can SSH into the box from anywhere and 'reattach' sessions, giving you all of those console sessions. They've been running, collecting output, whatever it is they would have done if you'd left them running in a regular console.
Screen is amazing.
The docs are a bit confusing. To start screen, 'screen'. That gives you Window #0. To open another window, CTRL-C. To switch windows, CTRL-*, where * is the window number. To see a list of all windows, CTRL-". To detech, CTRL-D. To reattach in a future login, do screen -r.
i am very new to screen program, i would appreciate any help to get it running.
i am trying to user screen program with either telnet or ssh to run commands without disconnecting from my eth0
when i try "screen" command and /sbin/ifconfig eth0 down , i get disconnected from my session , i think when unsing screen i should stay connected .
i would love to know the procedures how to get it running and working, when i type screen it only creates .screen and i do not seen .screenrc .
by the way , i am using redhat 9.