View Single Post
Old 08-03-2005, 06:19 AM   #2 (permalink)
taylor
Junior Member
 
Join Date: Aug 2005
Posts: 28
Default

Hi,

If you mean totals :

du -sh /home/joe (grand total only)

du -h /home/joe (for each subdirectory)

du -sSh /home/joe (don't count all subdirectories)

A tip when you are looking for man pages ..see 'man du'

Use the -k flag to list all manpages that use a given keyword. For example :

man -k samba

returns a list like this ....

lmhosts (5) - The Samba NetBIOS hosts file
make_smbcodepage (1) - construct a codepage file for Samba
SAMBA [samba] (7) - A Windows SMB/CIFS fileserver for UNIX
smb.conf [smb] (5) - The configuration file for the Samba suite
smbpasswd (5) - The Samba encrypted password file
smbstatus (1) - report on current Samba connections
swat (8) - Samba Web Administration Tool
Samba [samba] (7) - A Windows SMB/CIFS fileserver for UNIX
lmhosts (5) - The Samba NetBIOS hosts file
make_smbcodepage (1) - Construct a codepage file for Samba
smb.conf [smb] (5) - The configuration file for the Samba suite
smbpasswd (5) - The Samba encrypted password file
smbstatus (1) - report on current Samba connections
swat (8) - Samba Web Administration Tool

You can then do 'man swat' etc. Or explicitly using the section number 'man 7 samba' .

Hope this helps
taylor is offline   Reply With Quote
Sponsored Links