Qshell
{{Short description|Optional command-line interpreter for the IBM}}
{{Infobox software
| name = Qshell
| logo =
| screenshot =
| screenshot_size =
| caption =
| other_names =
| author =
| developer = IBM
| released =
| discontinued =
| latest release version =
| latest release date =
| programming language =
| operating system = IBM i
| platform = IBM Power Systems
| included with =
| replaced_by =
| language = English
| genre = Command shell
| license =
| website = [https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzahz/rzahzintro.htm?view=kc Qshell]
}}
Qshell is an optional command-line interpreter (shell) for the IBM i operating system. Qshell is based on POSIX and X/Open standards. It is a Bourne-like shell that also includes features of KornShell. The utilities (or commands) are external programs that provide additional functions. The development team of Qshell had to deal with platform-specific issues such as translating between ASCII and EBCDIC. The shell supports interactive mode as well as batch processing and can run shell scripts from Unix-like operating systems with few or no modifications.
Commands
The following is a list of commands that are supported by the Qshell command-line interpreter on IBM i 7.4.{{cite web|url=https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzahz/rzahzutility.htm|title=List of all utilities|website=IBM }}
{{not a typo|{{Div col|colwidth=7em}}
- 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
{{Div col end}}}}
Differences from other Unix shells
Qshell does not support the {{code|<>}} redirection operator or provide a command history. It also has no job control support as IBM i operating system does not have the concept of a foreground or background process group. The POSIX standard fg (Unix) and bg (Unix) built-in commands are therefore not available as well.{{cite web|url=https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzahz/rzahzdiffer.htm|title=Differences with other interpreters|website=IBM }}
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. It began as a port from the ash shell, which was a Bourne-like shell created by Berkeley Software Design.{{cite book |last1=Holt |first1=Ted |last2=Kulack |first2=Fred |title=Qshell for iSeries |date=February 1, 2004 |publisher=MC Press|isbn=1-58347-046-8 }}
See also
References
{{reflist}}
Further reading
- {{cite book|title=Qshell for iSeries|first=Ted|last=Holt|year=2004|isbn=1-58347-046-8}}
- {{cite book|title=System i 7.2 Programming Qshell|publisher=International Business Machines Corporation|year=2013|language =English|url=https://www.ibm.com/docs/en/ssw_ibm_i_75/pdf/rzahzpdf.pdf|pages=202|id=Product Number: 5770-SS1}}
External links
- {{cite web |title=Qshell |url=https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzahz/rzahzintro.htm |website=ibm |publisher=IBM |access-date=11 June 2020}}
- [http://www.tylogix.com/Articles/Exploring_iSeries_QSHELL.htm Exploring iSeries QSHELL]
{{Unix shells}}