Hi all.
i wanna sort a directory after Gb/Mb/kb. When doing a du -d1 -h it show upp by Gb and Mbs. Then i wanna sort it by size, Gb then Mb. I cant make sort to sort it right, anyone knows how?
My line right now is: du -d1 -h | sort -n
But it sorts by number and not size.
Maybe i...