Some very useful VIM tricks for Linux.
Some very useful VIM tips for Linux. Do a word count.
Some very useful VIM tips for Linux. Do a word count.
This command will print the number of running processes on a Linux system. 4.4 Tue Oct 30 jason@Yog-Sothoth 0: $ ps aux | wc -l 2554.4 Tue Oct 30 jason@Yog-Sothoth 0: $ ps aux | wc -l 255 Here is a nice alternative that will work on Ubuntu. The landscape-common package will install this utility. … Read more
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
This is how to actually count the lines of code in your C project on Linux. Some people advocate using wc -l, but that would not suit our purposes. The cloc utility is able to do this and more. Firstly, install this utility. sudo apt install clocsudo apt install cloc Then run the utility in … Read more
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