Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

System Administration Guide: Advanced Administration
Previous Next

Managing Disk Use (Task Map)

Task

Description

For Instructions

Display information about files and disk space.

Display information about how disk space is used by using the df command.

How to Display Information About Files and Disk Space

Display the size of files.

Display information about the size of files by using the ls command with the -lh options.

How to Display the Size of Files

Find large files.

The ls -s command allows you to sort files by size, in descending order.

How to Find Large Files

Find files that exceed a specified size limit.

Locate and display the names of files that exceed a specified size by using the find command with the -size option and the value of the specified size limit.

How to Find Files That Exceed a Specified Size Limit

Display the size of directories, subdirectories, and files.

Display the size of one or more directories, subdirectories, and files by using the du command.

How to Display the Size of Directories, Subdirectories, and Files

Display ownership of local UFS file systems.

Display ownership of files by using the quot -a command.

How to Display the User Ownership of Local UFS File Systems

List the newest files.

Display the most recently created or changed files first, by using the ls -t command

How to List the Newest Files

Find and remove old or inactive files.

Use the find command with the -atime and -mtime options to locate files that have not been accessed for a specified number of days. You can remove these files by using therm `cat filename' command.

How to Find and Remove Old or Inactive Files

Clear out temporary directories.

Locate temp directories, then use the rm -r * command to remove the entire directory.

How to Clear Out Temporary Directories

Find and delete core files.

Find and delete core files by using the find . -name core -exec rm {} \; command.

How to Find and Delete core Files

Delete crash dump files.

Delete crash dump files that are located in the /var/crash/ directory by using the rm * command.

How to Delete Crash Dump Files

Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire