Computing.Net > Forums > Linux > Edit Save

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Edit Save

Reply to Message Icon

Name: faye_wong
Date: December 28, 2003 at 17:09:05 Pacific
OS: SuSe 9.0
CPU/Ram: 128
Comment:

Hi,

Running SuSe 9.0 pro under command line prompts. When I type: edit [filename]
then after I'm done typing how to I save it?

Kind of new to this.



Sponsored Link
Ads by Google

Response Number 1
Name: roopunix
Date: December 28, 2003 at 18:30:05 Pacific
Reply:

to save the file in command line mode first type ":" it means to go out of insert mode[means now you can't type] if still you waana type press "i" this will go to again insert mode[typing mode] now u wanna save the file. type ":wq"[means write and quit] in case you dont want to save the file only quit type. ";q" but if the file is only readonly u gotta type ":q!" for without saving but quit.


0

Response Number 2
Name: taurus
Date: December 28, 2003 at 19:37:36 Pacific
Reply:

Are you telling me that "edit" is the same as "vi"??? Somehow, I don't have "edit" on my system, Fedora Core 1, so it must be an extra app under SUSE then... Maybe "pico" would be a little easier to use if your system has it since you can see all the commands at the bottom of the screen. To me, everyone needs to know how to use vi if you use a Unix system!!!

taurus


0

Response Number 3
Name: heart_debian
Date: December 29, 2003 at 00:31:10 Pacific
Reply:

And don't forget, you have to first press escape, before ":" or "wq".

Basically, some installations of vim have the programs "vi, vim, gvim, xvim, edit, view". view opens the file read-only, gvim and xvim are the X and GTK+ versions. On some systems "vi" is only with basic features and "vim" with all features, on others both are same or are symlinks.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


I want Linux, i hate wind... Soundblaster Soundcard



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Edit Save

Create Unix file on Windows www.computing.net/answers/linux/create-unix-file-on-windows/22778.html

hangs on boot after eth0 fail www.computing.net/answers/linux/hangs-on-boot-after-eth0-fail/24999.html

Edit Grub File With Mandrake www.computing.net/answers/linux/edit-grub-file-with-mandrake/24596.html