Archive for December 5th, 2008

How to erase all the files completely in Ubuntu

December 5, 2008

There are situations when we need to make file deletion unrecovarable for security concerns. There are simple commands that can do this. Open a terminal and type the following command.

dd ip=/dev/urandom op=~/consumeSpace.txt
This will fill up all space left with random characters and once the space gets over it stops by throwing an exception. Now we can delete the file we have created to free up the space. To delete the file created type the following command into a terminal.
rm ~/consumeSpace.txt
We have now deleted the files permanently from the disk.

How to setup iptables in ubuntu linux

December 5, 2008

There are acouple of gui front ends for configuring iptables
lokkit is a simple gui front end and it can be installed using the command

sudo apt-get install lokkit

For advanced options use firestarter. It can be installed by the command

sudo apt-get install firestarter

Hello world!

December 5, 2008

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!