Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 13:54:33 -0400
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        "Henning, Brian" <brian.henning@navitaire.com>, <questions@FreeBSD.ORG>
Subject:   Re: root partition
Message-ID:  <01a801c21ba8$32c03c30$1200a8c0@gsicomp.on.ca>
References:  <E1846117A30764468D2192D5A48541CC03894917@exchange.Navitaire.com>

next in thread | previous in thread | raw e-mail | index | archive | help
du -s * doesn't recurse through directories starting with a period.  It's a
unix-ism.  Sorry for forgetting that before.

Try 'du -s .[^\.]*' instead.  (That's dot, open square bracket, caret,
backslash, dot, close square bracket, asterisk)

Matt

----- Original Message -----
From: "Henning, Brian" <brian.henning@navitaire.com>
To: <questions@FreeBSD.ORG>
Sent: Monday, June 24, 2002 1:47 PM
Subject: RE: root partition


> I do see that my /root is 99MB and i am using root as my main log in. I
plan
> on changing that to another user but, when i look in /root I don't see how
> this adds up to 99MB?
>
>
> trinity# ls -al
> total 54
> drwxr-xr-x   8 root  wheel    512 Jun 17 16:24 .
> drwxr-xr-x  19 root  wheel    512 Jun 18 23:52 ..
> -rw-r--r--   1 root  wheel    238 Jun 10 15:15 .basilisk_ii_prefs
> -rw-r--r--   2 root  wheel    802 Jan 28 07:13 .cshrc
> -rw-------   1 root  wheel    175 Jun 17 16:13 .fetchmailrc
> drwx------   2 root  wheel    512 Jun 14 18:12 .gaim
> -rw-------   1 root  wheel   1174 Jun 14 18:12 .gaimrc
> -rw-------   1 root  wheel   3106 Jun 24 10:51 .history
> -rw-r--r--   1 root  wheel    142 Jan 28 07:13 .klogin
> -rw-r--r--   1 root  wheel    297 Jan 28 07:13 .login
> drwx------   3 root  wheel    512 Jun 11 12:36 .micq
> drwxr-xr-x   2 root  wheel    512 Jun 11 23:34 .mplayer
> -rw-------   1 root  wheel  14616 Jun 17 13:23 .pinerc
> -rw-r--r--   2 root  wheel    251 Jan 28 07:13 .profile
> drwx------   2 root  wheel    512 Jun 17 22:33 .ssh
> drwxr-xr-x   2 root  wheel    512 Jun 12 23:25 .vmware
> -rw-r--r--   1 root  wheel    373 Jun 10 13:03 cvsupfile
> -rw-r--r--   1 root  wheel     35 Jun  8 12:16 grub.txt
> drwx------   2 root  wheel    512 Jun 17 13:23 mail
>
>
> trinity# du -sh *
> 2.0K    cvsupfile
> 2.0K    grub.txt
> 6.0K    mail
>
>
> any suggestions,
> brian
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01a801c21ba8$32c03c30$1200a8c0>