Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: External Dependencies on Unix Commands

by Abigail-II (Bishop)
on Jun 07, 2002 at 18:42 UTC ( #172612=note: print w/replies, xml ) Need Help??


in reply to External Dependencies on Unix Commands

To make sure they are in the place you expect them to be, you could make use of the -x function. However, don't expect all those tools to be in /bin. You'll find some of them in /bin, others in /usr/bin. Or in both. And sometimes, /bin is just a symlink to /usr/bin.

sqlplus and gtar should not be found in /bin or /usr/bin. But you may however just depend on the users PATH. Aliases don't play a role - if a shell is being used, it will be the Bourne shell, and that doesn't have aliases.

Abigail

Replies are listed 'Best First'.
Re: Re: External Dependencies on Unix Commands
by robobunny (Friar) on Jun 07, 2002 at 19:13 UTC
    some systems (redhat linux for one) don't have a real bourne shell, just a symlink to bash, which does have aliases.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://172612]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2023-03-27 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (65 votes). Check out past polls.

    Notices?