#!/bin/bash design(){ echo "\n====================================\n" } design > murugan.log echo OS details >> murugan.log design >> murugan.log uname -a >> murugan.log lsb_release -idrc >> murugan.log # distro, version, codename, long release name >> murugan.log design >> murugan.log echo packages installed >> murugan.log design >> murugan.log aptitude search '~i!~M' >> murugan.log design >> murugan.log echo python version >> murugan.log design >> murugan.log readlink -f $(which python) | xargs -I % sh -c 'echo -n "%: "; % -V' >> murugan.log design >> murugan.log echo end >> murugan.log design >> murugan.log