Month: December 2018

  • *nix – check disk space

    If you’ve tried to use ls -lh to get the size of a directory and it’s content, you’ll have found that it doesn’t give you what you were hoping for. One method to get the size of a directory, including files, sub-directories and their files is to use du (disk usage). du -sch The switches…