[NTLUG:Discuss] Finding out what editors are available on my Linux system

Rob Apodaca rob.apodaca at attbi.com
Thu May 8 11:55:28 CDT 2003


On Thu, 08 May 2003 16:56:41 +0000
"jay linux" <jaylinux at hotmail.com> wrote:

> Is there a way to find out what editors (VI, EMACS, etc) are available on my
> 
> linux system?
> 

If your system is rpm based try this script:

#!/bin/bash
#findrpmgroup.sh

for i in $( rpm -qa ); do
        rpm -qi $i | grep $1 | awk -F: '{ print $3 }'
done

Then run it like this:
$ ./findrpmgroup.sh Editors

-Rob



More information about the Discuss mailing list