Let’s get right to the fun part!
Category: Operating Systems
Linux System Administration
Snapshot databases & files
Imagine that the filesystem is book and each entry in the table of contents (TOC) is a reference to a chapter. In the filesystem this “chapter” is referred to as an inode and the TOC entry is called a hard link. you may call it a file ;) Now the cool thing about this is… Continue reading Snapshot databases & files
Neovim – Next Generation Vim
NeoVim is a great tool and my goto editor even on large projects, but it needs proper config.
SMS Gateway using smstools in Debian 9
Plug in your GSM Modem and run dmesg to find your device details.
ulogd2 – Netfilter logging
Syslog used to handle NetFilter logging and you had to write regexp rules to sort your firewall logs, like:
ipset – Blacklisting large sets
Blacklisting large amounts of IPs, i use this with the iptables “blocked logging” in ABF (AsBraFirewall).
Bash completes me
Well, not in Debian 9.. To get bash completion run: And then you can TAB-complete all sorts of commands like services or systemctl
Check yourself
How do you know if your daemons go down? Some use services like pingdom but i’d rather check myself.
ADB (Android Debugger) Cheatsheet
Since my samsung uses a custom ROM called Lineage OS and since the device is rooted, it lets me play around inside the Linux environment.
Colorizing your Linux commands
The output of some commands are impossible to read, especially a network flow in real time. I’ve collected a few ways to accomplish coloring of keywords.