Text editing with VI editor in SSH

5 pts.
Tags:
Secure Shell
SSH
VI editor
Hi, I create a new file $vi dumy.txt write something in Insert mode $lakdhfaildhf quit :wq Now when I open the file dumy.txt, and try to edit (delete/change) the text 'lak....'. I can't do it. I am using the vi editor. I am using SSH to log into a cluster site from a Windows machine. Could you help me with what's wrong? Thanks, Jack
ASKED: November 22, 2008  5:35 PM
UPDATED: April 10, 2009  1:35 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

- Does it give you some error message ? or does it say that you are attempting to modify a read-only file, or something like that ?
- Can you put the editor in insert mode again, and add some new text ?

While trying to insert data, type i to get into the INSERT mode instead of using the INSERT key. Similarly while deleting use d instead of the DEL key.

maiga

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following