Skip to main content
103
results
Andrew Fletcher
Working in an AWS ec2 environment, my goal is to access the server via terminal. I initially work to get the instance ID.  With this ID, I'm able to connect to the server.  When first accessing the environment on the server the steps I take are: sudo docker psps - refers to the 'process status' Response CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 6a6402c2c0c8 a0094945b64e "docker-php-entrypoi…" 49 minutes ago Up 49...
Andrew Fletcher
How to set the Private file path in Drupal using the following steps: Create a...
Andrew Fletcher
This page will be a progressive outline of moving those regular run scripts that...
Andrew Fletcher
Goal: I want to download a table list to a txt or csv file. Initially, as a root...
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 to https://github.com/sivel/speedtest-cli To install speedtest CLI is is quick by running the following brew install speedtest-cliI had a few brew updates required as you'll see by the response below You have 18 outdated formulae installed. ==> Fetching dependencies for speedtest-cli: mpdecimal, openssl@3 and python@3.11 ==> Fetching mpdecimal ==> Downloading...
Andrew Fletcher
I'm in an environment where the default branch is staging and I'm attempting to...
Andrew Fletcher
How to count the number of files in a directory.  At some point you'll have...
Andrew Fletcher
I've recently upgraded the server Ubuntu 20.04 updating the PHP version from 7.4...
Andrew Fletcher
Find by file name To perform a find command in terminal use find / -name...
Andrew Fletcher
I had generated a backup of key directories on the server - see Create a Ubuntu backup shell script.  With a backup in hand, now it was time to test how to unpack a backup and overwrite the directories. First I unpacked the backup to a temporary directory tmp-cc. Now I wanted to replace several of the directories on the server.  Starting with home, var and etc.   But what is an efficient method to overwrite a directory?   Also removing any directories that aren't in the...
Andrew Fletcher
An approach to generating a backup server is using a shell script.  A...
Andrew Fletcher
Creating a bash script Bash scripts are files containing code that tell your...
Andrew Fletcher
How do you generate a .pem file from an existing .ppk key? Is putty on your...
Andrew Fletcher
In this woalk through I am going to use GitHub.  However, the steps are...