Friday, August 1, 2008
Edit a remote file using vi and scp - linux
unstableme.log is a file on server 172.21.20.104 /root directory. In order to edit this file from your local system the command is:
$ vim scp://root@172.21.20.104//root/unstableme.log
** This requires key based ssh access to the remote server 172.21.20.104.
For more details on editing remote files via scp in vim read the vim tip from vim.org
Subscribe to:
Post Comments (Atom)
© Jadu Saikia www.UNIXCL.com
3 comments:
Very very simple and useful! Thanks!
Very useful and simple! Thanks guy
@aLe, thanks for your comment. Keep visiting unstableme.
Post a Comment