add this to your ~/.bashrc file

apt-get-search() {
aptitude search $1  | sed -e 's/^i.*//g' | sed '/^$/d'
}

close and open the terminal again [or just source ~/.bashrc]

After that you will be able to search like


apt-get-search games
apt-get-search hindi
apt-get-search graphics

this trick has been added to schoolOS bashrc bydefault..
-- 
┌─────────────────────────┐
│    Narendra Sisodiya
│    http://narendrasisodiya.com
└─────────────────────────┘

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to