System administration: Difference between revisions

Line 158: Line 158:
$ sudo vipw
$ sudo vipw
</source>
</source>
== Resources ==
=== Check disk space usage ===
You can check the file space usage with the command <span class="package">du</span>.
<syntaxhighlight lang="bash">
$ du -h
</syntaxhighlight>
=== Check disk space left ===
<span class="package">df</span> is for checking the amount of disk space used and available on file systems.
<syntaxhighlight lang="bash">
$ df -h
</syntaxhighlight>


= Debian/Ubuntu-specific =
= Debian/Ubuntu-specific =