Get colorful MAN page in Ubuntu

Getting colorful MAN in Ubuntu is very easy and it is also looks good.

You can have them by using the following commands:

sudo apt-get install most
export PAGER="most"  

Installing GDB -PEDA in Ubuntu

After facing many difficulties i installed GBD – PEDA, it’s is really awesome. It makes a lot of difference, if you have used older GDB.

First, install lib:
$sudo apt-get install libncurses5-dev

Than download it using GIT:

$git clone https://github.com/longld/peda.git ~/peda

After than you type the following command:

$echo “source ~/peda/peda.py” >> ~/.gdbinit

After following the above steps, Now type gdb. If you still get the older version than follow the below steps.

First remove the gdb version with:

 sudo apt-get remove gdb

Next download the old package from:

i386: http://security.ubuntu.com/ubuntu/pool/main/g/gdb/gdb_7.4-2012.02-0ubuntu2_i386.deb

amd64: http://security.ubuntu.com/ubuntu/pool/main/g/gdb/gdb_7.4-2012.02-0ubuntu2_amd64.deb

Install the package with any package manager you like e.g the ubuntu software center

Now gdb-peda works.