Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!bcstec!saddler From: saddler@bcstec.boeing.com (Ray Saddler) Newsgroups: comp.unix.shell Subject: Re: copying files Keywords: cp Message-ID: <581@bcstec.boeing.com> Date: 21 Dec 90 21:08:28 GMT References: <4615@umbc3.UMBC.EDU> <169@raysnec.UUCP> <1990Dec6.230153.14856@wpi.WPI.EDU> Organization: Boeing Computer Services Lines: 30 In article <1990Dec6.230153.14856@wpi.WPI.EDU> (Brian Fennell) suggests: .In article <169@raysnec.UUCP> (Ray Shwake) replies: ..rouben@math13.math.umbc.edu (Rouben Rostamian) proposes: .. ...In article <1990Dec5.021951.28104@en.ecn.purdue.edu> (Scott P Nichols) asks: .... ....Do any of you UNIX wizards know how to even list all of ....the names of the files which begin '.' (besides, of course ....the files in the root (second line of list) .... .. ...Try ... ls -d .* .. .. For some users on some systems, this will list both current directory ..(.) and parent directory (..), which is not what is required. Try instead: .. .. ls -d .??* . .ls -dal `ls -da .* | grep -v '^\.$' | grep -v '^\.\.$' ` . I use the simple command: ls -al .??* ...works for me... -- Ray E. Saddler III UseNet ___ ___ ___ ___ ___ CAD System/Network Admin ..!uunet!bcstec!saddler /__// //__ / /\ // _ P.O. Box 3999 m.s. 3R-05 PhoneNet /__//__//__ _/_ / //__/ Seattle, WA. 98124 USA +1 206-657-2824 Missile Systems Division