Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
The alternatives --config command
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. gdm config
    By N0thing in forum General Chat
    Replies: 3
    Last Post: 12-21-2004, 05:54 AM
  2. SMB config on RH9.0
    By Blaqb0x in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 07-28-2003, 05:43 PM
  3. Samba Config
    By Rukasboy in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 07-08-2002, 10:19 PM
  4. Please alternatives to Nautilus File Manager!
    By NightSky in forum Linux - Software, Applications & Programming
    Replies: 11
    Last Post: 05-19-2002, 09:41 PM
  5. file browser alternatives?
    By S_D_Willie in forum Linux - General Topics
    Replies: 22
    Last Post: 04-22-2002, 10:13 PM

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
  •