cliveportman/code

Terminal commands for CentOS

To shutdown:

    shutdown -h now

To reboot:

    shutdown -r now

To check overall disk space:

    df

To check disk space per directory, without showing all the subdirectories (e.g. to see who's account using up so much space):

    du -sh /home/account-name