GNU screen ?
hi, guys
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. thanks to everybody. |
to run screen I use something like this
I have the screen installed on the server machine. screen uses commands that are of the form Ctrl+A char so I login to the server and run screen now i start working and when Its time to go you can either leave it like that or if say you have to disconnect then use the command Ctrl+A d which will detach the screen you are working. now you can close your telnet and go home peacefully. Once I reach home you telnet again to the server and use screen -x and bingo you are back to the old screen, you can get help anytime when you are on screen using Ctrl+A ? Ctrl + A c gives you a new tem to work on Ctrl + A A goes to the last screen you worked on Ctrl + A space will cycle among the screen Ctrl + A " will show a list of the current screens Ctrl + A d will detach Ctrl + A [ will allow you to scroll - use the arrows to navigate in scrolling mode use space to start copying a buffer another space will end copying Ctrl + A ] will paste read the info docs for a good overview info screen pinfo screen should give you what you need. |
thanks
thanks for your help .
i am trying something different , which is the following: suppose i telnet to the machine , and i execute sreen command , then run /sbin/ifdown eth0 (will bring the network down ) but i want to be still connected to the shell it means that i will be able to run commands to the shell even that eth0 is disconnected and then type /sbin/ifup eth0 and that will bring the ethernet eth0 up again . beleive i saw that and tried , worked perfectly . thanks |
i dont understand how that is possible. because when you login to a machine and bring its eth0 down then it means the telnet also is down .
one psosible thing that could have happend is the machine had 2 cards when you telnet it was using eth1 and you shutdown the eth0 device. eth1 was still up. screen has nothing to do with networking. |
All times are GMT -5. The time now is 07:10 AM. |