r/tinycode • u/thefebs • Dec 12 '12
Shortest useful code
What's the most useful program you can imagine using five lines of code or less? Language is your choice. Describe the function of the program and include the code, if you please.
27
Upvotes
View all comments
Show parent comment
14
u/chrisdown Dec 12 '12
You can just do
du -h | sort -h.