Menu

25 December 2010

[trick] search package from list of available

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..

By- Narendra Sisodiya

Post a Comment