G
gianmh
Is is possible with ruby to execute vim on a remote machine to edit a file?
can some one point me in the right direction?
can some one point me in the right direction?
Gian said:Is is possible with ruby to execute vim on a remote machine to edit a
file?
can some one point me in the right direction?
ruby -e 'system "ssh user@machine vim remote_file"'Is is possible with ruby to execute vim on a remote machine to edit a file?
can some one point me in the right direction?
Pete said:ruby -e 'system "ssh user@machine vim remote_file"'
SCNR
Well, it does start up vim on the remote file, so, provided you changeDoes that edit the file?
ruby -e 'system "ssh user@machine vim remote_file"'
SCNR
Well, it does start up vim on the remote file, so, provided you change
it and then hit :wq, it'll edit it.
ruby -e 'system "ssh user@machine vim remote_file"'
SCNR
ruby -e 'system "ssh user@machine vim remote_file"'
Is is possible with ruby to execute vim on a remote machine to edit a file?
can some one point me in the right direction?
Is is possible with ruby to execute vim on a remote machine to
edit a file?
can some one point me in the right direction?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.