Web Hosting Talk







View Full Version : how to edit a file using Telnet?


kickster
01-30-2002, 01:47 PM
I dont know the command lines that allow me to open a file and edit then save using Telnet.

Can any one help?

kmurrey
01-30-2002, 01:57 PM
You have better go out and get you a good book on Linux. I use a Doctor Linux book that has the complete Linux Reference material in it.

What you want to use (or I use) is vi.

You can do a search on the internet for the commands for vi.

I hope this helps...

____________________
Keith

teck
01-30-2002, 01:59 PM
The most easiest is pico:

pico filename.whatever

To save, just do a CTRL-O then CTRL-X. All the commands start with CTRL and a letter and the usage is on the bottom of the screen.

ljprevo
01-30-2002, 03:09 PM
I would suggest you NEVER use telnet and install SSH and go into your Raq that way.

MDJ2000
01-31-2002, 11:14 AM
I second that, and use ssh2 for that matter. You can install openssh for your Raq in a .pkg. http://pkg.nl.cobalt.com/

I also like pico, as opposed to vi and emacs.