Results 1 to 2 of 2

Thread: The alternatives --config command

  1. #1

    The alternatives --config command

    Hi,

    I just did the following and up came two alternative, telling me that there are two programs that provide java. But my question is what this command alternatives --config java actually does? Can I use it to see how many programs provide PHP, Perl, Python, Ruby etc.


    Code:
    [root@localhost ~]# alternatives --config java
    
    There are 2 programs which provide 'java'.
    
      Selection    Command
    -----------------------------------------------
    *+ 1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
       2           /pathto/sunjava/java
    
    Enter to keep the current selection[+], or type selection numb
    Thanks...

  2. #2
    Code:
    [root@localhost ~]# alternatives --config perl
    [root@localhost ~]# alternatives --config php
    [root@localhost ~]# alternatives --config ruby
    [root@localhost ~]# alternatives --config python
    Nothing retruned at the prompt for any of the commands above, why?

Similar Threads

  1. BBIPS - Command Line Utilities
    By Crouse in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 09-05-2007, 03:04 AM
  2. Simple question about command syntax ping/log ping results
    By ohalnet in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 07-26-2006, 05:12 PM
  3. How to start System Restore tool at command prompt
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 07:25 AM
  4. install and use the Recovery Console in Windows XP
    By regix in forum Windows - General Topics
    Replies: 14
    Last Post: 01-04-2005, 06:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •