Saturday, October 24, 2009

Linux Cool Tips #5


To view software packages installed on you linux machine, use  rpm -qa for RPM-based distro or  dpkg --get-selections for Debian-based distro.

You can use the above commands in tandem with either less or grep for easy viewing of results.
e.g.
        # dpkg --get-selections | grep php
           libapache2-mod-php5          install
           php5                                    install
           php5-common                     install
           php5-gd                              install
           php5-mcrypt                       install
           php5-mysql                         install
           phpmyadmin                        install

2 comments:

  1. you have a nice site. thanks for sharing this enormous resources. keep it up. anyway, various kinds of ebooks are available here

    http://feboook.blogspot.com

    ReplyDelete
  2. nice blog, more power to pinoy linux users.

    ReplyDelete

JS-Kit Comments