Check the amount of disk space occupied by a directory
du -hs dirname
It may be useful to sort the subdirs by size:
du -k | sort -rn
To list files sorted by size:
ls -Sl
To view of different directory
du -ah /path/to/dir
-a : all files
-h : human-readable form
Blog Archive
-
►
2010
(79)
-
►
June
(11)
- Protect Web Directories using .htacess
- eth0_rename in ethernet card
- Reset windows password using linux live CD
- IPP printer configuration in windows
- Reinstall WIndows Fax and Picture viewer
- Stream audio in Bluetooth Headset using Dongle
- Convert image files to text
- Configuring exim4 in Ubuntu to use GMail for SMTP
- Change apache2 web directory
- Checking webserver vulnerabilities
-
►
June
(11)
-
▼
2009
(22)
-
▼
December
(15)
- adding xp recovery console to boot menu option
- Receive email anonymously
- Change vsftpd login default path
- Make SMTP mail server in xp
- Enable cmd / regedit xp
- Installing RAID in server 2003
- How to install subversion (SVN) and create users
- Adding user and adding user to group in LINUX
- View all users in linux
- Configure TCP/IP from the Command Prompt
- ctrl alt Del in Remote Desktop
- Adding a startup script to be run at bootup in Lin...
- Change Ownership of Group and user in Linux
- Setting Up file Ownership and Permissions in Linux...
- Check the amount of Space occupied by a Directory
-
▼
December
(15)
Tuesday, December 1, 2009
Subscribe to:
Post Comments (Atom)


0 comments:
Post a Comment