From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney)
Subject: Re: NEWBIE: Tally the files . . .
Date: 2000/04/17 [thread overview]
Message-ID: <8ddr90$eii$1@news.ndsu.nodak.edu> (raw)
In-Reply-To: 8dacei$mdc$1@nnrp1.deja.com
In article <8dacei$mdc$1@nnrp1.deja.com>, <race9047@my-deja.com> wrote:
> I need help fine tuning the following command.
>
> find|sort|uniq| -c|awk '{print $1,$2}'
>
> What I am suppose to do is "write a script that will count the number
> of files in a directory. Count only the files and not the
> subdirectories".
I would imagine your instructor also expects you to do your own work. :-)
Hopefully you've learned how to read man pages (or GNU info documentation,
if that's what you system has instead) by this point. If you provide me
with your instructor's email address, so I can contact him or her and
verify that it's ok for you to have hints from the peanut gallery, I would
happily provide you with some hints on how I would do it.
Tim
--
Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J1, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
next prev parent reply other threads:[~2000-04-17 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-15 4:00 NEWBIE: Tally the files . . race9047
2000-04-17 4:00 ` Tim Mooney [this message]
2000-04-17 4:00 ` Chris H
2000-05-09 4:00 ` Timothy Lehto
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox