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 …
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 …
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 …
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 …
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 …