Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vi



 2008/1/26, jbk <[hidden email]>: 
> I need to add a user to sudoers and that must be done with 
> visudo. I don't use vi and it is not installed. I can start 
> visudo and enter the text but I have no idea how to exit and 
> save the file. I had to kill the terminal to get out of it. 

vimtutor 

You start entering text with a or i (depending on if you want it 
before or after the current letter). Press escape to return to command 
mode, then type :wq to save and quit (:w saves, :q quits. If you don't 
want to save the changes, use :q! ). 

That should be enough. Knowing how to use vim is very important, you 
should at least learn, even if you don't user it. 
-- 
Samuel 'Shardz' Baldwin 
Shardz's Igloo: shardz.homelinux.net // Down at the moment 
Registered GNU/Linux User #410639 

-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org