Bash question
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Wed Dec 21 15:41:47 UTC 2011
On Tue, Dec 20, 2011 at 09:51:03PM -0500, jim wrote:
> Thanks. I would prefer not to have to do an ls for each 7 digit number.
> There are at least 100 of these unique 7 digit numbers in the directory.
> I was thinking I may have to use the linux " uniq " command in here to
> somehow first get all the unique numbers??
100 is irrelevant to the system. If you were talking 100000 you would
have a point. We do have disk caches after all.
sort -u is sort and uniq combined.
--
Len Sorensen
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list