There are lots of reasons why you would want to access your website’s .htaccess file: performing URL redirection, defining custom error pages, etc. Whatever the reason, you first need to locate the file on your host server. This article explains how.
Linux & Servers
What is life without Linux? Browse this category to explore content I have created relating to Linux and Servers. This section is pretty broad. It promises content on Ubuntu, cloud VMs, server automation, bash scripting, PowerShell, system/website administration, AWS, etc. Watch this space for my existing and future content on the aforementioned technologies.
If you have ever tried to figure out why Linux is running low on memory, you will agree that the memory usage information provided by the kernel is not easy to understand. This post explains what Pss means in the /proc/PID/smaps file.
Since PowerShell is now open source and cross-platform, we can now perform PowerShell magic right inside Linux boxes. If this isn’t exciting, what is?! Here’s an example of how to execute PowerShell scripts (or commands) from PHP code on a Linux VM.
For quite some time now, PowerShell has been cross-platform. This means you can now use it on Mac OS and on the many different flavors/distributions of Linux. Here’s how to install PowerShell Core followed by Azure PowerShell on your Ubuntu machine.
WP-Cron is how WordPress handles time-based job scheduling on sites. Sort of like the Linux cron utility. But WP-Cron could be very resource intensive since it executes on every page load. I share some insights/solutions to the problem in this post.
If you do any volume of work with PuTTY, you would have encountered its default and annoying timeouts which continuously force you to re-login multiple times. This article explains a simple setting to ensure your PuTTY sessions NEVER time out again.