How to find failed systemd units?

Questo articolo è stato scritto oltre 1 years, il contenuto potrebbe essere datato.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 […]

Read More…

How to send a message to Slack with Bash

Questo articolo è stato scritto oltre 1 years, il contenuto potrebbe essere datato.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

Questo articolo è stato scritto oltre 1 years, il contenuto potrebbe essere datato.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

Questo articolo è stato scritto oltre 1 years, il contenuto potrebbe essere datato.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

Questo articolo è stato scritto oltre 1 years, il contenuto potrebbe essere datato.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…