Posts Categorized: linux

Zero Filling a Disk in Linux

The simple way to wipe or zerofill a disk is: dd if=/dev/zero of=/dev/sd? bs=1M However I found an article describing how to zero-fill with a progress indicator using pipebench, installed on Debian/Ubuntu with: sudo apt-get install pipebench then use: tr ‘\000’ ‘\377’ < /dev/zero | pipebench | sudo dd of=/dev/sd? Substitute the question mark for… Read more »

Website Vulnerability Scanning

So I tested out Skipfish today to do a quick check on a website / web server. Hosted on Google at: download it, extract it and make and run:

Skipfish will create an HTML report in the ./myreport directory in the file index.html For more info read the well written README files in… Read more »

Get Image Dimensions on the COmmand Line

Occasionally useful to find out the dimensions of an image without having to load an image editor or file manager. From the ImageMagick toolkit: identify myimage.jpg tiffinfo myimage.tif pnginfo myimage.png

Anti-Virus Software on Linux

A friend contacted me today running an Ubuntu live CD and trying to scan a windows drive for viruses. So for future reference the following antivirus packages can be tried: BitDefender Avira AVG Clam Clam is in the repositories so you don’t need to specifically download it – just search within the Software Center e.g…. Read more »

K3B Buring CDs with MP3s

Creating an Audio CD in K3B (my favourite CD burning software) I received an error that MP3 format was not supported and that the files need to be converted to WAV format first. Problems while adding files to the project. Unable to handle the following files due to an unsupported format:You may manually convert these… Read more »

Rsyslog and Log Analyzer

These are the steps I took to create a centralised location of system logs. In this scenario multiple servers (earth, venus, mars) send their system logs to a central server (sun I’m not going to cover the configuration of Apache, MySql except were it applies to Log Analyzer. Most of the servers are running… Read more »

FFmpeg Command-line Video Conversion

Video files can be converted using GUI tools such as Handbrake, Arista, WinFF but if you don’t mind the command line – or if you want to automate video file conversion then the following examples might help:Convert to FLV ffmpeg -i video.avi video.flv ffmpeg -i video.avi -ar 22050 -ab 32 -f flv -s 320×240 video.flv… Read more »