Interesting article on Linux permissions.
It explains how to recognise which permission system might be in use (eg SELinux, facl), the meaning and how[……]
Author: Andrea
AWS dynamic IP ranges
Hi,
What are the dynamic IP ranges used by AWS in Ireland for the EC2 service?
$ curl -s https://ip-ranges.amazonaws.com/ip-ranges.json | jq '.p[......]
Sys admin levels explained
Interesting article on the different levels and skill set of System Administrators:
http://www.linuxjournal.com/content/sysadmin-101-leveling
Andr[……]
The politics of the Linux desktop
Interesting read.
If you’re working in open source, why would you use anything but Linux as your main desktop?
https://opensource.com/article/17/1[……]
How to soft reset Linux disks
Sometimes disks stop responding and cause issues/slowness to the whole system, simply because the system is expecting some sort of response.
In these[……]
Find sdx device/ATAx mappings
When dealing with hardware, you often see messages in the logs about disk issues or warnings.
Messages like:
ata9: hard resetting link
ata9: SATA[......]
Convert Squid/timestamps to a human readable format
Somebody had the brilliant idea to use Unix timestamps in the Squid log.
I suppose this makes it easy to parse, not so easy to read for us humans tho[……]
bash – remove first line with tail and last line with head
You can achieve the same result with other (more powerful) tools, but I like this approach because it’s the simplest I can think of.
Let’s say you[……]
sed – match and replace BIND/DNS serial number programmatically
I had to make some modifications to several BIND zone files, sed proved itself invaluable once again!
All the zone files looked something like this[……]
Remove all non-ascii characters with perl
Sometimes when creating one-liners, when the source is not “clean”, you may end up with non-ascii characters which make the parsing harder.
To get[……]