How to find failed systemd units?

Sometimes the services units on your Linux systems fails but you see that very fast during the boot. So you have no time to check what is the unit with issues and need to start digging in the logs of your system. Usually the boot stuff require a specific daemon like bootlogd to track what […]

Read More…

How to send a message to Slack with Bash

This article has been written before more than 1 years, information might old.I was looking for a simple bash script with a config file to send messages from my bash script on my machine to the company slack. I found this amazing script: https://gist.github.com/andkirby/67a774513215d7ba06384186dd441d9e Try that script and you will see that is very amazing […]

Read More…

Instant answers via CLI with HowDoI

This article has been written before more than 1 years, information might old.The reason for use this tool is the same as the comic. Is very annoying search every time for found small snippet of code or the parameters for a command. With howdoi you can search on stackoverflow and get the first result with […]

Read More…

Force overwrite package on apt

This article has been written before more than 1 years, information might old.How to force the overwrite on apt when there are the problem or error? With this command force a variabile with Perl, you can pass also other flag of dpkg. apt-get -o Dpkg::Options::=”–force-overwrite” install package-name Source: http://raphaelhertzog.com/2011/08/01/understanding-dpkgs-file-overwrite-error/ […]

Read More…

ScanToEmail with bash

This article has been written before more than 1 years, information might old.A simple script that scan and attach the file scanned to a new email on thunderbird. Require Kdialog, xSane, Imagemagick. Based on one-touch scan http://en.gentoo-wiki.com/wiki/Scanner_buttons_and_one-touch_scanning#one-touch_e-mail Download […]

Read More…