To get a ls (file list) or df (disk free) to show in K,M or G instead of *huge* numbers of bytes without commas, use the -h flag.
ls -lh df -h
2786 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
ls -lh df -h
You need to create an account or log in to post comments to this site.
For a file sized 6,582,637 bytes, returns 6.3M while returns 6.6M. Depending on the particular version of ls(1) or df(1), -h could vary, resulting in confusion.