×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Buck,
You're right the .profile is preferred, however, it's harder to set up
initially until you have some idea about those tools. Jesse's article is
a must read.
By just setting the link up, you get past the often misguided restriction
that /home/'profilename' is OK to use. I can't count how many times I've
been told not to set those directories up.
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: OpenSource [mailto:opensource-bounces@xxxxxxxxxxxx] On Behalf Of Buck
Calabro
Sent: Wednesday, October 11, 2017 12:55 PM
To: opensource@xxxxxxxxxxxx
Subject: Re: [IBMiOSS] Node troubleshooting for noobs?
On 10/11/2017 1:35 PM, Jim Oberholtzer wrote:
Use: /QOpenSys/QIBM/ProdData/OPS/tools/bin/bash to start it
Or set up .profile to do it for you:
https://stackoverflow.com/questions/23913957/set-default-pase-ibm-i-shell-fo
r-individual-user
# detect if we're in a PASE shell
/QSYS.LIB/QSHELL.LIB/UNAME.PGM > /dev/null 2>&1
if [ $? != 0 -a "$SHELL" != "/QOpenSys/usr/bin/bash" ] then
exec /QOpenSys/usr/bin/bash
fi
Be sure to use the right path to bash... :-)
Or, read Jesse's article 'Tech Tip: Be Like a Turtle!'
http://ibmsystemsmag.com/blogs/open-your-i/august-2017/tech-tip-be-like-a-tu
rtle!/
and use the new DB2 functionality to set your shell call
qsys2.set_pase_shell_info('*CURRENT',
'/QOpenSys/QIBM/ProdData/OPS/tools/bin/bash');
--
--buck
As an Amazon Associate we earn from qualifying purchases.