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…
Category: Uncategorized
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]#…
Discover which repo holds a package in CentOS.
It is sometimes useful not only to know your repo list covers you for all the stack of software you want but also where does a package actually reside. The repoquery command comes to the rescue.
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…
Virtual Loopback Filesystem: Building A Linux Filesystem From An Ordinary File
Unix / Linux has a great inbuilt simplicity to it where you can create file systems on any block set . Now .. a file is a block set so technically and truly at it’s core a file system can be built on a file and mounted : I need a 100MB partition for some…