Skip to content

Instantly share code, notes, and snippets.

@tgedikli
Last active September 22, 2020 06:51
Show Gist options
  • Save tgedikli/a4d9bb97565560033dbcab0b76018006 to your computer and use it in GitHub Desktop.
Save tgedikli/a4d9bb97565560033dbcab0b76018006 to your computer and use it in GitHub Desktop.
# For shutdown machine
shutdown --poweroff
# Remaining Disk Status, Human Readable
df -h
# Directory Usage, Human Readable
du -hs *
# Service Restart
systemctl restart apache2.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment