Solved

the vi editor that edquota uses

Posted on 1997-09-18
2
726 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Looking for a program called HoneyMine. 3 117
IMAP copying tool 14 74
Logrotate Every Saturday 5 43
php mail() send emails but the message is lost 4 33
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

732 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