LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-19-2003, 06:57 PM   #1
Baldorg
Member
 
Registered: Sep 2003
Location: GMT (-5)
Distribution: Mandrake 9.1
Posts: 288

Rep: Reputation: 31
Manipulating Files in vi


I just can't seem to save, how do I use the command mode? I have an old unix manual and all the commands listed in it don't work. Can someone help me out?
 
Old 09-19-2003, 07:25 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
hit [esc] to enter command mode. Then: [:] + [w] to save or [wq] to save and quit or, [q!] to quit without saving.

ps: I recommend running vimtutor. Just type vimtutor on the command line and it will run an interactive tutorial that teaches all the ins and outs of vi(m)

Last edited by bulliver; 09-19-2003 at 07:27 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
manipulating files tableyou Linux - Newbie 8 11-08-2005 02:38 AM
Editing/manipulating text files winchester169 Linux - Software 3 08-18-2005 06:01 PM
Manipulating NICs ? Infernal211283 Linux - Newbie 5 04-28-2005 11:46 AM
bash script on manipulating files fiomba Linux - Software 8 10-30-2004 08:31 PM
Manipulating the PATH variable. redgore Linux - General 2 07-11-2002 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration