How to setup BASH custom prompt in Ubuntu I wanted two things: the time in my prompt a colour prompt Basics: it’s located in: ~/.bashrc uses Environment Variable: PS1 time is inserted using: \t time I started here: http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html colour http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/ PixelBeat discussion on coloured command prompts http://www.pixelbeat.org/docs/terminal_colours/ how to guid for customing the command prompt …

md5deep and finding duplicate files

I did this in several steps: create an md5 dump of the files system in question. For this I used my favourite command line tool `md5deep`, sort the file based on file size then md5 hash (sorted from largest to smallest), and remove entries that are not duplicate entries. Although this could be completed in …