Why are all Linux commands broken after installing Perl?

Posted by user115079 on Server Fault See other posts from Server Fault or by user115079
Published on 2012-04-04T17:57:08Z Indexed on 2012/04/05 5:31 UTC
Read the original article Hit count: 321

Filed under:
|

I installed perl using following command:

curl -L http://xrl.us/installperlnix | bash

after that i run following command to create soft link

ln -sf /usr/local/bin/perl /usr/bin/perl

now I'm trying to run commands like dir, mkdir, ll, rm, vi but nothing seems to be working for me. also when i try to login into my shell i get following msg at startup:

Last login: Wed Apr  4 21:50:12 2012 from x.y.z.ip
-bash: perl: command not found

please help.

Here is system detail:

cat /proc/version Linux version 2.6.18-274.18.1.el5.028stab098.1 (root@rhel5-build-x64) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Sat Feb 11 15:30:41 MSK 2012

cat /etc/issue CentOS 5.7 32 bit Kernel \r on an \m

Don't know if perl was already installed or not. and now i can't check.

© Server Fault or respective owner

Related posts about linux

Related posts about perl