Odd - If I do which find from a qshell session, I get this:
which find
/QOpenSys/usr/bin/find
$
If I do this:
/QOpenSys/usr/bin/find --help
Usage: find [-H | -L] Path-list [Expression-list]
$
That seems to be the old pase find, and I would think that I was using it.
env | grep PATH
PATH=/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
PASE_PATH=/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
But, if I just type this, It's obvious I'm getting the find from the open source rpm packages.
find --help
Usage: /QOpenSys/pkgs/bin/find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
I know I always want to be using the open source rpm packages, but not sure what magic I did a long time ago to make it work like this.
echo $0
QSHELL/QZSHSH
$
Am I just picking up bash everytime I run a command?
cat .bash_profile
PATH=/QOpenSys/pkgs/bin:$PATH
export PATH
export TERM=xterm
On Mon, 2021-02-01 at 15:09 -0800, James H. H. Lampert wrote:
On 2/1/21 10:21 AM, Kevin Bucknum wrote:
If you are just working with one directory, then you can use the ignore parm on ls.
ls -I "*.zip"
That seems to work in Amazon Linux 2, but it doesn't work in QShell (on
2 different boxes), nor on my Mac.
--
JHHL
[
https://www.medtronsoftware.com/img/MedtronMinilogo.bmp] Kevin Bucknum
Senior Programmer Analyst
MEDDATA / MEDTRON
120 Innwood Drive
Covington LA 70433
Local: 985-893-2550
Toll Free: 877-893-2550
https://www.medtronsoftware.com
CONFIDENTIALITY NOTICE
This document and any accompanying this email transmission contain confidential information, belonging to the sender that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, or the employee of agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of these documents is STRICTLY PROHIBITED. If you have received this email in error, please notify the sender immediately to arrange for return or destruction of these documents.
As an Amazon Associate we earn from qualifying purchases.