get-the-size-of-a-directoryfile-on-gnulinux.md 588 B


Title: Get the size of a directory/file on GNU/Linux Date: 2016-09-01 03:33:31 Categories: [cli] tags: [du] Slug: get-the-size-of-a-directoryfile-on-gnulinux

Authors: sedlav

Desktops such as GNOME, KDE, LXDE, XFCE offer an easy way to determine the size of a file or directory, right-click on the file in question, select properties from the context menu, but for servers we don't get any desktop then we should use du command which calculates the space occupied by a file or directory

Link