JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris 11.1 Administration: Devices and File Systems     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Managing Removable Media (Tasks)

2.  Writing CDs and DVDs (Tasks)

3.  Managing Devices (Tasks)

4.  Dynamically Configuring Devices (Tasks)

5.  Managing USB Devices (Tasks)

6.  Using InfiniBand Devices (Overview/Tasks)

7.  Managing Disks (Overview)

8.  Managing Disk Use (Tasks)

Managing Disk Use (Task Map)

Displaying Information About Files and Disk Space

How to Display Information About Files and Disk Space

Checking the Size of Files

How to Display the Size of Files

How to Find Large Files

How to Find Files That Exceed a Specified Size Limit

Checking the Size of Directories

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

How to Display the User Ownership of Local UFS File Systems

Finding and Removing Old or Inactive Files

How to List the Newest Files

How to Find and Remove Old or Inactive Files

How to Clear Out Temporary Directories

How to Find and Delete core Files

How to Delete Crash Dump Files

9.  Administering Disks (Tasks)

10.  Setting Up Disks (Tasks)

11.  Configuring Storage Devices With COMSTAR (Tasks)

12.  Configuring and Managing the Oracle Solaris Internet Storage Name Service (iSNS)

13.  The format Utility (Reference)

14.  Managing File Systems (Overview)

15.  Creating and Mounting File Systems (Tasks)

16.  Configuring Additional Swap Space (Tasks)

17.  Copying Files and File Systems (Tasks)

18.  Managing Tape Drives (Tasks)

Index

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.
Display the size of files.
Display information about the size of files by using the ls command with the -lh options.
Find large files.
The ls -s command allows you to sort files by size, in descending order.
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.
Display the size of directories, subdirectories, and files.
Display the size of one or more directories, subdirectories, and files by using the du command.
List the newest files.
Display the most recently created or changed files first, by using the ls -t command.
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.
Clear out temporary directories.
Locate temp directories, then use the rm -r * command to remove the entire directory.
Find and delete core files.
Find and delete core files by using the find . -name core -exec rm {} \; command.
Delete crash dump files.
Delete crash dump files that are located in the /var/crash/ directory by using the rm * command.