Qshell
Qshell is an optional command-line interpreter (shell) licensed program for IBM i operating environment. Qshell is based on POSIX and X/Open standards. The utilities (or commands) are external programs that provide additional functions.
Developer(s) | IBM |
---|---|
Operating system | IBM i |
Platform | IBM Power Systems |
Standard(s) | POSIX, X/Open |
Available in | English |
Type | Command shell |
Website | Qshell |
To determine if the Qshell Interpreter licensed program is installed on IBM i, from the operating system command line type GO LICPGM and press the Enter key. Select Option 10, and press the Enter key again. Press F11 function key to toggle through the Installed Status, Installed Release, and Product Option column views.
Commands
The following is a list of commands that are supported by the Qshell command-line interpreter on IBM i 7.4.[1]
- ajar
- alias
- appletviewer
- attr
- basename
- break
- builtin
- cat
- catsplf
- cd
- chgrp
- chmod
- chown
- clrtmp
- cmp
- colon (:)
- command
- compress
- continue
- cp
- cut
- dataq
- datarea
- date
- db2profc
- db2profp
- declare
- dirname
- dot (.)
- dspmsg
- echo
- egrep
- env
- eval
- exec
- exit
- export
- expr
- extcheck
- false
- fgrep
- file
- find
- gencat
- getconf
- getjobid
- getopts
- grep
- hash
- head
- help
- hostname
- iconv
- id
- ipcrm
- ipcs
- jar
- jarsigner
- java
- javac
- javadoc
- javah
- javakey
- javap
- jobs
- kdestroy
- keytab
- keytool
- kill
- kinit
- klist
- ksetup
- ldapadd
- ldapchangepwd
- ldapdelete
- ldapdiff
- ldapexop
- ldapmodify
- ldapmodrdn
- ldapsearch
- let
- liblist
- ln
- local
- locale
- logger
- logname
- ls
- mkdir
- mkfifo
- mv
- native2ascii
- nohup
- od
- pax
- policytool
- pr
- printenv
- printf
- profconv
- profdb
- profp
- ps
- pwd
- pwdx
- qsh
- read
- readonly
- return
- rexec
- rexx
- Rfile
- rm
- rmdir
- rmic
- rmid
- rmiregistry
- sed
- serialver
- set
- setccsid
- sh
- shift
- sleep
- sort
- source
- split
- sqlj
- system
- sysval
- tail
- tar
- tee
- test
- tnameserv
- touch
- tr
- trap
- true
- type
- typeset
- ulimit
- umask
- unalias
- uname
- uncompress
- uniq
- unset
- wait
- wc
- whence
- xargs
- zcat
Compared to PASE for i
According to IBM, QSHELL is a “UNIX-like” interface built over IBM i. The commands issued by the user point to programs in a “Qshell” library. To use Qshell, key STRQSH or QSH on an command line, or pass a command string to the QSH command, or use UNIXCMD, an open-source utility created by Scott Klement which allows the execution of QShell commands through an RPG special file.[2]
IBM Portable Application Solutions Environment for i (PASE for i) enables port of IBM AIX applications to the IBM i platform. To use PASE, CALL QP2TERM.
See also
References
- https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzahz/rzahzutility.htm
- "It's Easy to Run PHP, QShell, and PASE Tools from RPG". 12 November 2009. Retrieved 12 April 2016.
Further reading
- Holt, Ted (2004). Qshell for iSeries. ISBN 1-58347-046-8.