![]() ![]() ![]() Deleting a large file is usually more efficient than deleting many small files. Because the sort starts with the smallest file, the end of the list shows the largest files. The command shown above sorts from smallest to largest all files in the current directory and all directories contained below the starting directory. The sort command sorts the files by size. The du command summarizes your disk usage. ![]() From the Linux command prompt, type: % du -a | sort -k 1n,1 You can either sit at a Linux workstation or connect to one from a Windows computer using SecureCRT or the NX client for Windows. A simple way to view all your files is from a Linux workstation. One common problem in reducing your disk quota is finding what files are taking up your disk space. This write-up covers finding and deleting large files, using the zip or tar commands to compact files, and where else to store files. One solution is to delete large, unneeded files, another is to compact files, and a third is to store files someplace not in your home directory. Users often ask the Engineering Help Desk what to do when they run out of disk quota in the home directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |