Last active
December 20, 2015 07:39
-
-
Save christhesoul/6095013 to your computer and use it in GitHub Desktop.
Linux Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Return 15 largest folders by file size | |
du -sm * | sort -nr | head -15 | |
//More useful way to debug syntax errors in http.conf | |
apachectl configtest | |
//Reload http.conf after making changes | |
service httpd reload | |
//NOTE: the above may require sudo if http.conf is struggling to open other configuration files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment