Essential IT Support Commands Every Beginner
If you’ve ever gone in to a directory, for example a mail or log directory, and wanted to clear it of its contents, but faced an error like this: /bin/rm: cannot execute [Argument list too long] We have a solution for you. It’s nice and simple, and easy to remember. Paste and run the command…
5 0 * * * /bin/find /tmp/ -type f -print0 | xargs -0 rm
I noticed that on my CentOS 6 box, I was still running nginx 1.0.15. I wanted to upgrade to nginx 1.10.1. However, when I ran sudo yum update nginx, it showed that there were no Packages marked for Update. Luckily, getting the latest version through Yum is straight-forward and only requires adding a new repo….
If you’re on a cPanel server, you’ve probably noticed a sizable folder called ‘virtfs’ sitting in /home, which would appear at first to be using a ton of space. Your first inclination might be to delete it, but don’t! Most likely, the files in that folder are actually just hard links or bind mounts and…
As a developer, you will occasionally need to create a new administrative user in the database to gain access to the site. Typically, this is necessary when you are provided with an export of a WordPress database, but you aren’t provided with the login credentials for the admin user. Sure, you can gain access via…
What is a WHOIS Database? The WHOIS database contains the listing of all registered domains on the internet. You can do a WHOIS lookup to access various details related to a domain like registration date, expiry date, domain ID, name of registrar, contact information, server name and more. The WHOIS database is available to the…