i am using telnet to logged into Solaris UNIX system.
How can i edit a .doc file using the vi Editor?
I need the commands to edit the file using vi editor and the command to save the file.
Please reply.
Printable View
i am using telnet to logged into Solaris UNIX system.
How can i edit a .doc file using the vi Editor?
I need the commands to edit the file using vi editor and the command to save the file.
Please reply.
vi is a text editor, and can't understand .DOC files.
hi,
just give me the commands will do.
You'd probably be best off FTPiung the file to your pc and edit it there.
Her'es' a few commands anyway
i went to the directory with the filename in it..
then here is how i edit the file:
$ vi myfile.doc <Enter>
then the screen shows the contents inside the file.
Now after doing editing, how can i save it then exit?
by the way is the abv command is correct?
If you edit a .doc file using vi it will be irretrievably damaged.
No idea!
I got that list of a colleague who uses vi a lot
I've never ever used vi and I don't intend to either;)
He's not listening to you parksie! :DQuote:
Originally posted by parksie
If you edit a .doc file using vi it will be irretrievably damaged.
i am working on windows NT Server, but i logged into Solaris UNIX system using telnet.
now i just wanted to edit the file from the telnet screen using vi editor in unix.
Seems like it :rolleyes:Quote:
Originally posted by Mark Sreeves
He's not listening to you parksie! :D
Earth Calling ariel_au, Come in ariel_au
You cannot edit the file as a word document is nothing as simple as a text file, everything is embedded.
*Ian Start's banging his head against the wall*
;)
Uhm... it has been a while since I used vi (I'm a pico man), but I think it is !w and then !q. I know there is a command that will do both, write then quit.Quote:
Originally posted by ariel_au
i went to the directory with the filename in it..
then here is how i edit the file:
$ vi myfile.doc <Enter>
then the screen shows the contents inside the file.
Now after doing editing, how can i save it then exit?
by the way is the abv command is correct?
Now, two things...
If it is not a text file, do not use vi. If it is a text file that someone labeled .doc, then tell eveyone that, so they aren't confused.
And two... now listen closely, cause this is the most important thing you will ever learn about Unix...
MAN VI
You can man anything. man is your friend. Use it lots.
Again... that is
Code:/home/me$ man vi
info is good if you have it, but I think it's only commonly installed on Linux.
Wait... I see this question coming... "what is man?"
Type man man. :)
finally i can edit the .doc file using vi editor. thanks to CiberTHuG and Mark Sreeves for the commands...
i just realised there is an imposter called 'ariel_au.' and is trying to edit files using vi editor also...