Dnia 16 lutego 2022 12:25:25 CET, Lourens <lour...@runningwolf.co.za> napisał/a:
>On 2/16/22 12:59, Łukasz Moskała wrote:
>> Hi,
>>
>> Did you ran dd recently? If you specify non-existent output disk in
>> dd, it'll create file in /dev, then write to it, filling up space.
>>
>> Also, try:
>> du -shx / | sort -h
>> this should show you which directories take up most space.
>>
>
>Thank you for teaching me something new!
>
>I used dd to write /dev/zero to a USB stick, the command did zero the
>USB stick.
>
>the command you suggested :
>puffy7# du -shx / | sort -h
>985M /*
>*which is similar, to me at least, to my previous
>
>puffy7# df -h
>Filesystem Size Used Avail Capacity Mounted on
>/dev/sd0a 986M 985M -48.2M 105% /
>
>
>**
>
Oops, I made a typo in that command. I meant:
du -shx /* | sort -h
the goal is to show disk space usage per directory in /
--
Łukasz Moskała