Possible to use 'du' command along with 'ls'?

ساخت وبلاگ

Is it possible to use du command along with ls, so i can get better information what are folders and what are files, and info about ownership and permissions? Something like ls usage in Find command: find ~/ -ls

Also, in this listing i see files with kilobytes size in front of files with megabytes size. Why is that? I assume 'K' stands for kilobytes and 'M' stands for megabytes:

Code:

max@ubuntu:/var/cache$ sudo du -sh * | sort -nr
93M apt-xapian-index
50M apt
32K fontconfig
20K ldconfig
8.0K dbconfig-common
8.0K apache2
4.9M debconf
4.0K pppconfig
4.0K apparmor
1.3M man

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 356 تاريخ : دوشنبه 31 خرداد 1395 ساعت: 20:02