![]() There's also this slightly old article at OS X Daily with a number of other tips-the tips are still relevant today, though the screenshots are out of date. Linux: Find the second biggest file/directory in size using commands. How can I check the size of the binary file using linux command in the terminal linux files size Share. There's obviously a lot more you can do to customize Terminal, such as launching sessions with a quote, or changing the look of inactive windows. I checked the size of the binary file using du -sh csimu, but it shows size as 0. They also explain how to customize the colors, if you wish-it's not a trivial task, as it's about as anti-GUI as it gets. Over at OS X Daily, this post is the one I used for my current dark-background Terminal window-they also have a set for light-colored backgrounds. How, exactly, is all that mess of letters colors? Many words could be written on that subject, and thankfully, others have written them. The first line tells the system to use colors for ls output, and the second line colorizes those lines. In a nutshell, the color output for ls is managed by two lines in my. The nice thing about colorization is you get other benefits: executable files get an asterisk after their names, and directories appear with a trailing slash. You could do the same thing with du, but I rarely use that command, so I didn't bother.īack in the Mac OS X Hints days, colorizing Terminal's ls output was a popular subject. profile (which loads whenever you open a Terminal session) to make this automatic: ![]() Instead of raw bytes, the values are converted and marked with trailing B, K, M, etc.īecause I never use ls in its short form, I actually added a line to my. To get human readable output-not just from ls but also in du, which shows disk space usage-just include an h with the ls command: ls -alh. Both of these changes are pretty simple, though you could spend hours playing with colors. But notice, too, the file sizes are in a human-readable form. The most-obvious thing in that shot is the colored filenames. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |