Solved

the vi editor that edquota uses

Posted on 1997-09-18
2
720 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
a free alternative to cpanel? 1 58
Debug VNC connection on CentOS7 server 22 64
Linux as a middle box 7 61
Setting up Two Three NICs with One on a Different Subnet 22 57
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

932 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

11 Experts available now in Live!

Get 1:1 Help Now