How to create a deb file from an already installed package on Ubuntu and Linux Mint.

An already installed package on a Debian based system may be repackaged into a Debian *.deb file for sharing with someone else, or for a backup if the user wishes. This is very useful. Also, it is possible to get information about the number of installed packages, and the number of Debian packages available for … Read more

Count how many times users have successfully logged into your Linux machine.

This command will display a count of successful logins to your Linux machine. jason-H55-USB3% grep ‘session opened’ /var/log/auth.log | wc -l 67jason-H55-USB3% grep ‘session opened’ /var/log/auth.log | wc -l 67 This will display a count of failed login attempts to your Linux machine. jason-H55-USB3% grep ‘FAILED LOGIN’ /var/log/auth.log | wc -l 3jason-H55-USB3% grep ‘FAILED LOGIN’ … Read more