Introduction

*A Unix-like operating system, often referred to as UN*X or nix, behaves similarly to a Unix system; however, there is no official technical standard defining this term, leading to varying opinions on how closely an operating system resembles Unix. While IBM i does not directly run Linux or Unix, it offers some Unix-like capabilities through key technologies :

Setting up the PASE

please, refer to my article here to configure SSH : Configure SSH on IBM i with keys

<aside> 💡

to use effectively shell, use SSH with terminal like PuTTY (or QP2TERM on 5250)

</aside>

Environment

CALL QP2TERM → run shell PASE on 5250 session (using Korn shell; /QOpenSys/usr/bin/sh)

the QIBM_MULTI_THREADED is a variable that enables multi-threading for applications running in the QSH (Qshell) environment.

enable the variable : ADDENVVAR ENVVAR(QIBM_MULTI_THREADED) VALUE('Y')

to verify : WRKENVVAR or DSPJOB → 22

ckeASZA3g8.png

$PATH

echo 'PATH=/QOpenSys/pkgs/bin:$PATH' >> $HOME/.profile → export PATH >> $HOME/.profile

<aside> 💡

temporary : PATH=/QOpenSys/pkgs/bin:$PATH → export PATH PASE_PATH

</aside>