how to edit remote file on linux ?
Using Cygwin from windows-XP computer,how can i edit some remote RHEL5 computer's file, by opening it through VIM and using the INSERT option. Whether changes are applicable or not ?
|
Could you elaborate? "Whether changes are applicable or not?" doesn't make much sense in the context.
Did you mean how to save changes? In this case press Esc and then ': w q' |
If I understand well what you are trying to do you don't need cygwin for that. If that RedHat server has ssh configured you can download putty from here http://www.chiark.greenend.org.uk/~sgtatham/putty/ and log in remotely and get a console to that machine. Once you have logged in you could run vim from there and do whatever you want to do.
|
Y, use ssh to login and use the vim on the remote as per normal.
|
Just so you realize it. When you log in and use vim, the vim program is running on the server, not locally. Not only is the file remote, the the programs you run are remote as well. If you have Cygwin/X installed you can even run graphical programs remotely. So if you are partial to kate, you can use it instead, or even run on of the RH system-config-* programs graphically.
|
RC between linux and windows
Thank You all for the precious suggestions. i was not there these days...will try all these and if required will come back to you people.
thank you again, kapil bajpai |
All times are GMT -5. The time now is 10:15 AM. |