> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Frank Cox
> Sent: Thursday, March 22, 2012 2:12 AM
> 
> On Thu, 22 Mar 2012 09:10:14 +0200
> Jussi Hirvi wrote:
> 
> > Just a sidenote: what vi/vim command is ZZ? I notice that it saves
> and
> > quits, but why? I usually to :wq for that.
> 
> ZZ == :wq

Almost...

ZZ == :wq, if the file has been modified
ZZ == :q, if the file has not been modified

--
Owen Beckley  -  owen.beck...@sungard.com - T: 630 482 5148 - M: 630 788 6998



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to