Sometimes you will find that your Mac is running very hot, and you may want to keep track of it over time to see if… Read More »What temperature does your Mac CPU idle at?
This error often looks something like: Reinstall AWSCLI If you have started getting the Bad Interpreter error when you call awscli, then you can easily… Read More »How to Fix the ‘Bad Interpreter’ Error from AWS and Python 3.7
If you get the following error while trying to install something via Homebrew AttributeError: ‘int’ object has no attribute ‘split’ – make: *** [sharedmods] Error… Read More »How to solve AttributeError: ‘int’ object has no attribute ‘split’ – make: [sharedmods] Error 1
chmod alters the permissions for a file or directory, you could allow full read/write access to a file or directory by running the following command:… Read More »How to tell what the CHMOD value of a file/directory is
You may find your /var/log/journal directory taking up a lot of disk-space. How do you go about removing, or deleting all these files without the… Read More »How to cleanup a /var/log/journal in Linux
It’s amazing how many times I’ve need to find out the total size of all the files in a directory on one of our servers.… Read More »Get the total size of all the files in a directory
I tail logs quite a lot. An example would be to tail the Apache2 access logs. This is simple to do: This will show a… Read More »Tail and Grep: display all output but highlight search matches
If you need to replace all newline characters with a comma, or perhaps some other delimiter, then using the build-in tr utility will work very… Read More »How to replace newlines with commas in CLI
You have a directory with a lot of files, and you want to delete only the files that don’t match a specific extension. This is… Read More »How to remove files without a certain extension?
If you’ve ever typed date into your Ubuntu Server and seen a different time or timezone appear than you expected, then it probably means that… Read More »How to Change the Timezone on Ubuntu Server
Programming languages provide the ability to remove special characters from a string quite easily. Sometimes you need to also do this from your command-line using… Read More »Remove Special Characters in a String using Bash
There is a fantastic tool to see and monitor Bandwidth and Network Traffic on Linux. It’s called bmon and it works out of the box.… Read More »How to monitor Network Traffic on Linux
Learn how to package a Python app in this tutorial. For the most part, once you’ve written your Python code, you simply deploy it to… Read More »How to Package a Python App using Nuitka
A symbolic link – or often just sym-link – is a pointer or shortcut to where the actual file lives on a filesystem. What does… Read More »How to create a Symbolic Link on Linux / Mac
If you have ever been in the annoying situation where you had to run git clone from a server that you did not have interactive… Read More »Non-interactive git clone (ssh fingerprint prompt)