Text editing with VI editor in SSH

5 pts.
Tags:
Secure Shell
SSH
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

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.

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.

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

Following

Share this item with your network: