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]

| standard = POSIX, X/Open

}}

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}}

{{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}}