Reference articles on history, science, culture and more
Encyclopedia

Qshell

Optional command-line interpreter for the IBM

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.

01Commands

The following is a list of commands that are supported by the Qshell command-line interpreter on IBM i 7.4.

02Differences from other Unix shells

Qshell does not support the <> 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 and bg built-in commands are therefore not available as well.

03Compared 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.

Watch videos about QshellExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Qshell, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.