Re: NEED HELP
- From: Jan Gerrit Kootstra <jan.gerrit@xxxxxxxxxxxxxxx>
- Date: Mon, 11 Dec 2006 07:07:48 +0100
Moe Trin wrote:
On 10 Dec 2006, in the Usenet newsgroup alt.os.linux.redhat, in articleOld guy,
<1165760124.268323.202780@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, and in the
Usenet newsgroup linux.redhat, in article
<1165760112.579753.178130@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, omerdvd@xxxxxxxxx
wrote:
[Please do NOT post the same article to multiple news groups. If you must,
list all of the groups in the "Newsgroups:" header, and set a "Followup-To:"
header as I have done here.]
I need to find all the files bigger then 100M under /dat, and write the
file location and size into 100.txt
man find and look at -size option
The easy solution is to redirect the output into your desired file ( >100.txt)
and i need to find all dirs bigger then 1G under /dat and write it to
1g.txt
As above. By the way, this really sounds like a homework question, as
/dat isn't a directory normally found on an *nix system. See the
http://tldp.org/guides.html and have a look at the Linux Filesystem
Hierarchy guide.
Old guy
A directory size is not the same as the size of the directory content. So your suggestion might not be what sender wants.
Kind regards,
Jan Gerrit Kootstra
.
- References:
- NEED HELP
- From: omerdvd@xxxxxxxxx
- NEED HELP
- Prev by Date: NEED HELP
- Next by Date: DHCP Server setup
- Previous by thread: NEED HELP
- Next by thread: DHCP Server setup
- Index(es):