Displaylink DK1522 Issue after OpenSUSE Leap 42.3 Upgrade

It is the end of the year and the time I use to upgrade my Lenovo P50 to the latest OpenSUSE Leap version. I do it this time of year because I expect to have some issue that I will need to work through after the upgrade and since this …

The Poor Mans DynamicDNS

A few years ago I had an issue where I needed a DynamicDNS service or some sort. I didnt want to pay for it and got the thought in my head to just write my own script that suited my need. The things it needed to do was check if …

Get the exit code of a bash command

If you want to see the exit status of a Linux shell command in bash use the variable
$?
This will return the exit status of the last command.

Now this will only give you the right most exit code if you are piping a command.

~> ls | sort

the last command …

Linux Backup Restore with tar (part 1 of 2)

OS: Linux
Skill Level: Intermediate
Prerequisites: Linux CLI and Bash Scripting
Language: Bash Shell Scripting

Intro:
There are a lot of great open source and commercial backup solutions and what you will find if you look under the hood of these software packages is that most of them are just …

File count from the command line on a Linux system

OS: Linux
Skill Level: Beginner
Prerequisites: Basic Linux CLI and regular expression understanding

Intro:

When a folder only has a few items in it this trick is not that important, but let say the folder you are looking at has 754,586 files in it? Here is a quick trick …