Skip to main content
11
results
Andrew Fletcher
20 Oct 2022
Recently I have been investigating one of my Linux server's speed using the copy [cp] command.  This came about due to 'upgrading' the server from Centos 6 to 7.  Once I had migrated a domain, I ran the following command yes | cp -rf 'stg/core' 'tmpdir' To my surprise, the first run of this command took over 38 minutes to complete.  Crap!  Yes a simple cp -a command is a very painful and slow process.  Read more about the pain and times under Centos 7 in this article Allegedly a server...
Andrew Fletcher
11 Aug 2022
I had generated a backup of key directories on the server - see Create a Ubuntu...
Andrew Fletcher
11 Jul 2022
Currently, I have a situation where I have two repositories.  The first is where...
Andrew Fletcher
09 Jul 2022
Creating a bash script Bash scripts are files containing code that tell your...
Andrew Fletcher
07 Jul 2022
Accessing a remote server using PEM key, and I had the following...
Andrew Fletcher
24 May 2022
How do you generate a .pem file from an existing .ppk key? Is putty on your mac? Check by running the command puttygen -V Which will generate a response similar to  puttygen: Release 0.76 Build platform: 64-bit Unix Compiler: clang 12.0.5 (clang-1205.0.22.9) Source commit: 1fd7baa7344bb.... Don't have Putty, well easily fixed with homebrew. brew install putty   Generate the key We will use puttygen to generate the key. puttygen key.ppk -O private-openssh -o key.pem key.ppk the...
Andrew Fletcher
25 Mar 2022
Currently I'm working through an app that has been abandoned by the developers....
Andrew Fletcher
17 Mar 2022
First off, this isn't the only method to achieve the outcome of emptying a...
Andrew Fletcher
13 Mar 2022
Clear DNS Cache The DNS (Domain Name Service) cache on your Mac helps browsers...
Andrew Fletcher
07 Mar 2022
Changing git push from passphrase?  There are several ways to tackle this step....
Andrew Fletcher
07 Aug 2021
  Z shell (Zsh) is a Unix shell built on top of bash (the default shell for macOS) with a large number of improvements. In this article, I'll run through how to configure iTerm2 with ZSH and its dependencies.   Step 1: Install Homebrew Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple’s macOS. Before installing Homebrew, we need to install the CLI tools for Xcode. Open your terminal and run the...