U
U
unsstrennen2018-12-30 13:27:35
bash
unsstrennen, 2018-12-30 13:27:35

Bash: How to list all content with dimensions given in human readable format (mb, kb)?

bash: How to list all content with sizes given in human readable format (mb, kb)?
By entering a command, I need to get a list of files and directories with their sizes.
I found the ls -al command, but it prints out the sizes in bytes. I need output in mb, kb, gb (human readable format)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arman, 2018-12-30
@Arik

?
it is still interesting to walk through the structure through ncdu

Q
q2zoff, 2018-12-30
@q27off

ls -oh
du -ah

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question