?
Solved

the vi editor that edquota uses

Posted on 1997-09-18
2
Medium Priority
?
732 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 80 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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…
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.
Suggested Courses
Course of the Month10 days, 14 hours left to enroll

770 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