in reply to Re^6: A Tribute To The Monks Of Wisdom
in thread A Tribute To The Monks Of Wisdom
Yes, I dare to say so ;-) But if that doesn't work, you might also need to check:
The original problem was that the missing slash prevented the system to find the perl binary which is usually located in /usr/bin/perl but not in usr/bin/perl . It might have worked when you cd to / first, but this is nonsense. Fix the first line and it can be started (potentially) anywhere.
Update: Argl, oko1 is right with the 644 - thanks - how could that happen? (s/644/755/)
In agreement with Oko1's comment the dot is put at the end of the PATH for slightly improved security. A mistyped command or a legal program name that is not within $PATH - or not installed at all - can be executed when injected into the (visited) local directory. The truely paranoid careful and responsible person will use the slightly inconvenient ./my_program.pl form (or install the program in a proper location) and never let a . enter the $PATH variable - an absolute no-no for root and other high previledged users. As said before, no good idea to do that (the dot thing) on a system accessible by other users.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: A Tribute To The Monks Of Wisdom
by oko1 (Deacon) on Nov 28, 2008 at 20:33 UTC |