Solved

the vi editor that edquota uses

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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" …
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

820 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