Skip to main content
40
results
Andrew Fletcher
When managing large directories filled with media like documents and images.  My current project directory totalling 32GB, therefore it's necessary to compress these files for easier handling and storage. However, not all files and subdirectories are needed in every archive. For instance, you might want to exclude temporary or non-essential folders from the compression. Is there a way to perform this selectively, using the zip command while specifying directories to exclude? When working on...
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...
Andrew Fletcher
To determine the size of a directory using the terminal, you can use the du...
Andrew Fletcher
Docker containers list To view a list of Docker containers that are currently running, you can use the docker ps command. Open your terminal or command prompt and run the following command: docker psThis command will display a list of running containers, showing information like the container ID, image name, status, ports, and more. If you want to see all containers, including those that are not currently running, you can use the following command: docker ps -aThe -a option shows all containers,...
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...
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout command locally.  On my local environment I ran the following command git checkout {branch-name}However, the response was error: pathspec '{branch-name}' did not match any file(s) known to git  Solution The issue while the new branch is known in the repo, it's not known in my local environment.  To make the new branch known you need to run the fetch command git fetch --allResponse remote: Enumerating...
Andrew Fletcher
Working in an AWS ec2 environment, my goal is to access the server via...
Andrew Fletcher
How to set the Private file path in Drupal using the following steps: Create a...
Andrew Fletcher
This issue I have a folder with about 10,000 files in it.  I want to scan...
Andrew Fletcher
Using Homebrew for speed tests... I'm using Speediest CLI - for more details go...