Solved

the vi editor that edquota uses

Posted on 1997-09-18
2
719 Views
Last Modified: 2013-12-15
ok...*sigh* can anyone please give me the commands I need to get around in this editor or tell me how to specify jed as my editor? I do not mind usin vi but I do not know how... I basically need to know how to quit, make changes, save all that stuff for editing quotas...
0
Comment
Question by:lorenkia
2 Comments
 
LVL 4

Accepted Solution

by:
unicorntech earned 20 total points
ID: 1629905
OK here goes. There are two modes in VI - interactive and command. To change things or insert characters use (i) to insert a charatcter and then type what you want. To save type [esc] then [w]then enter. To quit type [esc] then q then enter. To save changes and quit type [esc] then wq then enter. To move from interactive mode (ie able to type things) to command mode press [esc]. To delete a word go to command mode and then type d then w. To remove a whole line type d then d. To remove 1 letter after the cursor type d then 1 then l. To remove two characters after the cursor type d then 2 then l. The same goes for words ie to delete two words type d 2 w. If you need more help than this e-mail me at jasons@aone.com.au and I'll see if I can mail you the whole tutorial on vi that I have written for my office,

Regards,

Jason
0
 

Author Comment

by:lorenkia
ID: 1629906
THANK YOU you are a life (or sanity) saver heheh
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now