Categories
guides

Disk Usage of the current folder (du command)

I use du -h –max-depth=1 all the time to determine the disk usage of the folders in my current directory, but my fingers always stumble over –max-depth=. The better way (which I learned thanks to explainshell.com): Some helpful variants:

Categories
guides

TAR Guide

To Compress: note: tar stores path relative to foldername above, best to run command from parent folder. Consider sudo to ensure permissions to all files intended for compression. To Compress Excluding Folder: –exclude=’path/to/folder’ excludes folder, must follow tar command before source/dest or other options, exclude multiple folders by repeating –exclude option with new folder value […]

Categories
guides

WordPress Prompting for FTP Credentials

If you just want to see my recommended permissions for a DocRoot, that is here. When updating plugins, themes, or the WordPress core – or when activating WordFence (and possibly in other situations), you may be prompted for FTP credentials for the webserver. If so, this indicates that WordPress was not able to write to […]

Categories
guides

bash Command Not Found

If you try to run a command, but bash says it can’t find it, like: Use locate to find the the path to the command Add that path to the system PATH variable NOTE: does not persist through logout/logon src

Categories
guides

Adding/Installing SSL/TLS/HTTPS

Some of these steps can be completed via command line with wp-cli if installed by using commands generated from this tool. To find out if wp-cli is installed, try running wp cli version. Adding the Cert These instructions are for SiteGround hosting with a free Let’s Encrypt certificate. Other hosts support of Let’s Encrypt and […]

Categories
guides

PHP Upload Limit Directives php.ini

If you’re having an issue with uploading via PHP, and want to adjust the PHP configuration limits in the .ini file, check the following directives: memory_limit upload_max_filesize post_max_size

Categories
guides

List all Services

Categories
guides

What Version of Linux am I running?

To find out which version of Linux you are running

Categories
guides

Yum Guide

Search repo for package Install package Update package Update Kernel/OS Cheatsheet See also RHEL yum Cheat Sheet