copying files

Ray Saddler saddler at bcstec.boeing.com
Sat Dec 22 08:08:28 AEST 1990


In article <1990Dec6.230153.14856 at wpi.WPI.EDU> (Brian Fennell) suggests:
.In article <169 at raysnec.UUCP> (Ray Shwake) replies:
..rouben at math13.math.umbc.edu (Rouben Rostamian) proposes:
..
...In article <1990Dec5.021951.28104 at 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



More information about the Comp.unix.shell mailing list