![]() This can be extremely useful when trying to clear up disk space if you don’t know what is hogging all the room. The * wildcard will cover all files in your home directory or whatever directory you are currently in, by default the Terminal will launch with your home directory as the pwd (present working directory).Īs you can see, the * allows for a breakdown of the space taken up by which directory. This users home directory takes up 26gb of space!Īnother example, type du -sh * at the terminal. ![]() The -s flag is for a summary, and once again the -h flag is for ‘human readable form’, the ~ is your home directory. du – displays disk usage information for each file and directory (ie: home directories, folders, etc) In this case, /dev/disk0s2 is the main hard disk, and 70% of it is in use. Start off by running the following command in the command line: Diskutil list For that reason the noload flag may be used, to notify to the system that the disk is blocked Steps are as follows: 1 Connect the USB boot drive to your Mac, then reboot Disk Utility: Open Disk Utility from Applications > Utilities Disk Utility: Open Disk Utility from Applications > Utilities. ![]() You should see something like this:įilesystem Size Used Avail Use% Mounted on The -h flag is for ‘human readable form’ meaning return results in the familiar megabyte/gigabyte format. Boot to open firmware: Command + Option + O + F. Df – displays disk usage information based on file system (ie: entire drives, attached media, etc) Reset PRAM: Command + Option + P + R (Note: Hold until second chime) Reset NV RAM: Command + Option + N + V.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |