Logwatch on SystemD logs in RHEL/Centos 7
Modern versions of logwatch support journalctl logs, to enable this in Centos / RHEL 7 just install the FC27 RPM (dependencies are minimal) and configure like so.
Modern versions of logwatch support journalctl logs, to enable this in Centos / RHEL 7 just install the FC27 RPM (dependencies are minimal) and configure like so.
Say in procmail you want a rule that puts subjects like: “Sale Alert: Howies” (or anything other than Howies) in your inbox but not “Sale Alert: Banana Republic” You can do this with a negative lookahead assertion like so: :0: * ^Subject: (You have sale alerts|Sale Alert):? *(?!Banana) $DEFAULT
Not exhaustive: readline-devel openssl-devel zlib-devel libffi-devel bzip2-devel
lonlat: a quick script to lookup longitude & latitude for a town on the command line: https://github.com/jamespo/commandmisc/blob/master/scripts/lonlat Requires python 3. Run with lonlat -m usage for how to setup, then lonlat -h.
Find man pages too verbose and all you want are some examples? Try tldr – I installed the python client in a virtualenv Tip: you can get git subcommands docs by putting in the “proper” binary, eg tldr find git-checkout
alacritty – GPU powered shell
With “Error creating terminal: Message recipient disconnected from message bus without replying” Try: sudo pacman -R –nodeps –nodeps vte3-notification sudo pacman -S vte3
a quick shell script / bash function to switch to other working directories https://github.com/jamespo/commandmisc/blob/master/scripts/cdx.sh Example: (misc27)v $ ~ cdx 1) /home/james 2) /home/james/dev 3) /home/james/Maildir Select dir: 3 (misc27)v $ Maildir
Install slmenu then put this function in your startup: ssm() { ssh $(awk ‘/Host / && !/*/ { print $2 }’ ~/.ssh/config | slmenu) }