![]() ![]() Tread thoughtfully and deliberately, and always remember to use the ‘ man‘ command to get details if you’re unsure. Navigate to your desktop by entering the change directory command. ![]() The Terminal can be both handy and efficient, not to mention fun. The Command Line is a text-based interface that allows you to communicate with your. “/Volumes/Back Seat Betty/usr/bin/du” -sh * To navigate into a folder, or directory, use. My hard drive is named “Back Seat Betty” because I name all my drives after Miles Davis songs, so for me that command would be: The Terminal app can be found in the Utilities folder in Applications. If your hard drive name contains a space, it’s safer to wrap the whole thing in double quotes as I have just to make life easier. You’d modify the above command and add “/Volumes//usr/bin/” to the beginning of the statement, where is the name of your hard drive. Thankfully, your Mac’s normal hard drive has this, and it will work even if it’s in read-only mode. You’ll have to point to a different volume that contains it. Unfortunately Recover Mode is a little different because the ‘du’ command isn’t included in the skeleton system you’re running. du will take them all.įor anyone doing this from the Terminal of a normally-booted Mac, this will work exactly as you see above. ![]() * – this is the filename target, and the asterisk means “everything that doesn’t start with a period.” You could specify a single directory here or a list, or individual files.A directory path is like a map to a specific folder. This command, which stands for 'change directory', is the root of any directory change. Because we’re using two switches, s and h, we can combine them together with ‘ -sh‘ Make sure you include the space after 'cd'. -h – this switch tells ‘du’ to output the sizes in ‘human-readable’ format.-s – this switch tells ‘du’ to show you one line per filename specified.So you understand what you just typed (or are about to type): By issuing ‘du -sh *’ in the Terminal I can see the sizes of all my files and folders ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |