Skip to main content
69
results
Andrew Fletcher
On a server directory with over 100,000 PDF files, I needed to verify the existence of specific documents. Whether there are a few hundred or whatever the number of files, this article explores the practical use of command-line tools to quickly ascertain whether a file is present. In the area of server management or application development, especially on systems like Ubuntu equipped with Nginx, it's crucial to perform routine checks to ensure that all necessary files are in place. Whether it's...
Andrew Fletcher
Recently, I encountered an issue where my local Docker environment refused to...
Andrew Fletcher
Managing large directories, especially those filled with a diverse mix of media...
Andrew Fletcher
Recently I came across this piece of gold when dealing with databases,...
Andrew Fletcher
In the realm of system administration and monitoring, understanding memory usage...
Andrew Fletcher
The red flag was when I saw the server disk space is showing a site is taking up 57992.5 MB, where locally the site size is showing 957MB.  There is something serious happening here and I need to establish the problem quickly.  When dealing with a significant discrepancy in site size between a local environment and a server, it's important to identify the root cause of the larger disk usage on the server.    Approaches for discovering the issue(s)   1. Analyse Large...
Andrew Fletcher
To determine the size of a directory using the terminal, you can use the du...
Andrew Fletcher
Lando is a local development environment tool, and it might not directly support...
Andrew Fletcher
Lando is a development environment tool that makes it easier to set up and...
Andrew Fletcher
Docker containers list To view a list of Docker containers that are currently...
Andrew Fletcher
Create a Lando setup running Drupal 10. The command you provided appears to be a Lando configuration command for initialising a new Lando environment for a Drupal 10 project. Following is a breakdown of the command and what it does: # Initialize a new lando drupal using a vanilla Drupal 10 installation lando init \ --source remote \ --remote-url https://www.drupal.org/download-latest/tar.gz \ --remote-options="--strip-components 1" \ --recipe drupal10 \ --webroot web \ --name...
Andrew Fletcher
A summary of Node package commands Short cut commands npm install...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
Post a NetSkope update, composer would fail when running any command that...
Andrew Fletcher
I need to generate a patch and then apply automatically to my Drupal...