From owner-freebsd-questions Tue Jun 16 03:10:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA09226 for freebsd-questions-outgoing; Tue, 16 Jun 1998 03:10:08 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns.cityip.co.za (ns.cityip.co.za [196.25.223.140]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA09083 for ; Tue, 16 Jun 1998 03:10:01 -0700 (PDT) (envelope-from wjv@cityip.co.za) Received: from wjv by ns.cityip.co.za with local (Exim 1.82 #2) id 0ylsee-0006xV-00; Tue, 16 Jun 1998 12:07:52 +0200 Message-ID: <19980616120752.H26576@cityip.co.za> Date: Tue, 16 Jun 1998 12:07:52 +0200 From: Johann Visagie To: Dan Busarow , Malartre Cc: questions@FreeBSD.ORG Subject: Re: /root:"chmod 600 .*" nothing work now Mail-Followup-To: Dan Busarow , Malartre , questions@FreeBSD.ORG References: <3585D0EB.389AA3D7@aei.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Dan Busarow on Mon, Jun 15, 1998 at 07:35:30PM -0700 X-PGP: ftp://ftp.cityip.co.za/users/wjv/pubkey.asc X-URL: http://www.cityip.co.za/~wjv/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Jun 1998 at 19:35 SAT, Dan Busarow wrote: > > BTW, the command you wanted was chmod 600 .??* But that would miss out any file whose name is a period followed by a single character, e.g. ".a". What about: $ chmod 600 .??* .[!.] AFAIK the use of '!' to negate is shell-dependent. (I seem to recall reading an article about "getting all the dotfiles" in Unix Power Tools.) -- V Johann Visagie | Email: wjv@CityIP.co.za | Tel: +27 21 419-7878 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message