LTS and Release Cycle for Ubuntu

LTS is an abbreviation for “Long Term Support”. We produce a new Ubuntu Desktop and Ubuntu Server release every six months [diagram below]. That means you’ll always have the latest and greatest applications that the open source world has to offer. Ubuntu is designed with security in mind. You get free security updates for at…

Linux check all ips in a subnet with ping

Let’s say you have a subnet 192.168.1.0 / 24 and you want to scan all ip’s to see if any hosts are up: Type the following command, enter:   $ for ip in $(seq 1 254); do ping -c 1 192.168.1.$ip>/dev/null; [ $? -eq 0 ] && echo “192.168.1.$ip UP” || : ; done Output:…

Missing Perl module with phptop how to fix.

While trying to run phptop after unzipping it I get the following error: [root@torino phptop-0.5.3]# ./phptop Can't locate Term/Size.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at ./phptop line 24. BEGIN failed–compilation aborted at ./phptop line 24. [root@torino phptop-0.5.3]#   To fix it I had to follow the coming steps: [root@torino phptop-0.5.3]#…

VIM cheat sheet

< The list of Vim commands > Working with files Vim command Action :e filename Open a new file. You can use the Tab key for automatic file name completion, just like at the shell command prompt. :w filename Save changes to a file. If you don’t specify a file name, Vim saves as the file name…