[NTLUG:Discuss] Finding out what editors are available on my Linux system
Mike
just_mike_y at yahoo.com
Thu May 8 23:03:20 CDT 2003
On Thursday 08 May 2003 12:22 pm, Steve Baker wrote:
> jay linux wrote:
> > Is there a way to find out what editors (VI, EMACS,
> > etc) are available on my linux system?
Taking the reverse engineering approach....
Look at your path environment variable
Type "$PATH[enter]" at a bash prompt
->>bash:
/usr/X11R6/bin:/usr/local/bin:/bin:/usr/bin:/home/username
Doing an ls for each of the directories in your path will
show ALL commands that will execute by name at the command
line. This is may not be a 100% complete list of
executables on the box, but should cover all the editors in
your system (altho you'll get thousands of other commands
to wade thru as well.)
Try
ls /usr/X11R6/bin > xfiles.txt
ls /usr/local/bin > local.txt
etc.
then you can work thru the lists involved.
More information about the Discuss
mailing list