Import All MySQL Sql Dumps in a Folder

This command will import all the MySQL sql dumps in the current folder. You can use this to restore your…

Configure Gateway

Configure the default gateway route add -net 0/0 gw IP_Gateway

Spy on SSH Users

See what your users are doing using SSH connected to your system – this will show you what happens on…

Find Link Status

Show link status of all interfaces ip link show

Shell Script for Batch Convertion of Images

An easier way to batch convert images using the ‘convert’ command… #!/bin/sh # An Easy command to use the convert…

Rip Audio CD to Wav

Rip audio tracks from a CD to wav files cd-paranoia -B

Burn Compressed ISO Image

Burn a compressed ISO image gzip -dc cd_iso.gz | cdrecord dev=/dev/cdrom

Search Debian Package

Show all deb packages with the name “httpd” dpkg -l | grep httpd

Shows all Partitions

Shows all partitions on the HDD fdisk -l

Update an Installed RPM Package

Upgrade a rpm package only if it is already installed rpm -F package.rpm