×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




If ‘which commadname’ does not find it, that means that commandname isn’t in your path. If you are unfamiliar with the concept of a path think library list. Not the same but similar.

To find if a file is any location, use the find command:
find / -name "*commandname*" 2>/dev/null
Arne

On Oct 9, 2025, at 13:53, Greg Wilburn <gwilburn@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

I used the Open Source Management in ACS to install a few packages...

A while back "curl" and just today "expect" - I may need to use the latter sometime next week.

In ACS, I can see the repository and versions: @ibmi-base/7.3 (for curl) and @ibmi-base (for expect)
(most everything is in @ibmi-base/7.3

I know little to nothing about this environment - but supposedly I'm supposed to be able to do "which expect" from QSHELL

which expect
which: 0652-141 There is no expect in /QOpenSys/usr/bin /usr/ccs/bin /QOpenSys/usr/bin/X11 /usr/sbin . /usr/bin.
$

But that's what I'm getting. I get the same for "curl".
However, if I do it for something like "bash" it finds it.
which bash
/usr/bin/bash
$

Guessing I did something wrong, or some path is not setup correctly.
Any help would be appreciated.

Thx,
Greg

[Logo]<https://www.totalbizfulfillment.com/> Greg Wilburn
Director of IT
301.895.3792 ext. 1231
301.895.3895 direct
gwilburn@xxxxxxxxxxxxxxxxxxxxxxx<mailto:gwilburn@xxxxxxxxxxxxxxxxxxxxxxx>
1 Corporate Dr
Grantsville, MD 21536
www.totalbizfulfillment.com<http://www.totalbizfulfillment.com>
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.