[Ilugc] How to find where Perl is installed

  • From: vnjp_ti@xxxxxxxxx (Prakash J)
  • Date: Sat, 28 Sep 2002 09:19:24 +0100 (BST)

Hi,

  I know that 'which perl' will give the path of the
perl.  But the issue here is, i want to pick up the
correct version of perl.  If i say 'which perl' in
command prompt and say it gives /usr/local/bin/perl.
If I do a perl -v then i will get the version.  If
that version is not the one i wanted to use then how
do i pick up the correct version of the Perl.

  I can use 'where' in 'tcsh' but then i can't use
this for 'sh' bcoz. it doesnt support that command.
  
  Also i need to pick up the CORRECT VERSION OF PERL
using A SCRIPT.

Thanx in Advance,
Prakash.

 --- Sathish <sathishbabut@xxxxxxxxxxxx> wrote: > Hi
Prakash,


use "which perl" at command prompt will solve ur
problem

Regards
Sathish Babu.T



-----Original Message-----
From: ilugc-admin@xxxxxxxxxxxxxxxxxx
[mailto:ilugc-admin@xxxxxxxxxxxxxxxxxx]On Behalf Of
Prakash J
Sent: Wednesday, September 25, 2002 9:29 PM
To: ilugc@xxxxxxxxxxxxxxxxxx
Subject: [Ilugc] How to find where Perl is installed


Hi,

   I need to find out where is a particular perl
version is installed in a network/machine.  If there
are more than one version of perl installed i need
to
pick up the correct version of perl executable.

   What is the easiest way to do this?  

Thanx in advance,
Prakash.


________________________________________________________________________
Missed your favourite TV serial last night? Try the
new, Yahoo! TV.
       visit http://in.tv.yahoo.com
_______________________________________________
To unsubscribe email
Ilugc-request@xxxxxxxxxxxxxxxxxx with 
"unsubscribe <password> address"
in the subject or body of the message.  
http://www.aero.iitm.ernet.in/mailman/listinfo/ilugc

_______________________________________________
To unsubscribe email
Ilugc-request@xxxxxxxxxxxxxxxxxx with 
"unsubscribe <password> address"
in the subject or body of the message.  
http://www.aero.iitm.ernet.in/mailman/listinfo/ilugc

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com

From karthi  keyan" <jobkarthik@xxxxxxxxxxxxxx  Sat Sep 28 09:34:30 2002
From: karthi  keyan" <jobkarthik@xxxxxxxxxxxxxx (karthi  keyan)
Date: 28 Sep 2002 09:34:30 -0000
Subject: [Ilugc] sendmail prob
Message-ID: <20020928093430.15842.qmail@xxxxxxxxxxxxxxxxxxxxxxxx>

hi,
  I am using the sendmail and started the service.
when i try sending mail from other user to root the root cann't 
receive mail

for eg: when i tried from user1(and tried mail command even as a 
root )
      mail root@localhost
it states the error message "hash map Alias0 : Unsafe map file 
/etc/aliases.db : world writable directory.

I tried opening that file and cann't find any useful 
information.

next mailq states that there are lot of mails pending .

Help me to send mail to root.




From karthi  keyan" <jobkarthik@xxxxxxxxxxxxxx  Sat Sep 28 09:35:01 2002
From: karthi  keyan" <jobkarthik@xxxxxxxxxxxxxx (karthi  keyan)
Date: 28 Sep 2002 09:35:01 -0000
Subject: [Ilugc] /dev/null prob
Message-ID: <20020928093501.16290.qmail@xxxxxxxxxxxxxxxxxxxxxxxx>

sir,
   somebody has removed the /dev/null from my system.

so there are lot of error messages like
  dup2 : File descriptor

rc.sysinit:/dev/null read-only filesystem and at that boot time i 
was asked the root password and when i type the root password i 
will get a prompt

and i tried the following in sequence
1)mount -t proc /proc /proc
2)mount -o remount,rw /
3)fsck /
4)cd /dev and tried ./MAKEDEV /dev/null which will create the null 
devices and other devices,etc.
5)reboot

even then i am getting the same error .
  Help me to recover from that error.




Other related posts: