HPlogo New Features of MPE/iX: Using the Hierarchical File System: 300 MPE/iX Computer Systems > Chapter 2 What's New: Overview

MPE/iX Shell and Utilities

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

The POSIX 1003.2 standard is implemented on MPE/iX as the MPE/iX Shell and Utilities (commonly referred to as the MPE/iX shell or the shell). The MPE/iX shell is a user workspace that provides a set of commands and utilities in a UNIX®-like environment on MPE/iX. The MPE/iX shell is provided with the MPE/iX operating system. Refer to the MPE/iX Shell and Utilities Reference Manual (36431-90001) for complete information about all of the shell commands provided by the MPE/iX shell.

The MPE/iX shell is provided in addition to the MPE/iX command interpreter, not as a replacement for it. You have the option of using either the shell or the MPE command interpreter (or both) to do your work. You can invoke the shell from the CI by typing SH (the system-provided UDCs must be activated) or by executing SH.HPBIN.SYS -L. The UDC puts you into your login group and runs the shell. You can use shell commands at this point. Type exit to exit the shell and return to the CI.

Table 2-8 lists some tasks and associated MPE/iX shell commands that may be of interest to you. MPE commands, utilities, or features that are comparable to the shell commands are also listed. Not all of the shell commands operate in the same way as the MPE command or feature; some are rough equivalents.

Table 2-8 Selected MPE/iX Shell Commands

TaskShell CommandComparable MPE/iX Feature
Shorten command names using an aliasalias, scriptscommand files or UDCs
Change working areacdCHDIR
Copy filescpCOPY, FCOPY
Display all or part of text filescat, more, tailPRINT
Determine disk usageduDISKUSE
Search for text patterns in a filegrep, egrep, fgrepSearch commands in text editors
Terminate a process or job that's runningkillABORTJOB, ABORT
Rename filesmvRENAME
Display current working directorypwdSHOWVAR HPCWD
Delete filesrmPURGE
Delete directoriesrmdirPURGEDIR
Sort informationsortSort/Merge utility
Edit text or program filesvi, ed, exEDIT/3000
Display a list of who's logged on the systemwhoSHOWJOB, SHOWPROC

 

Feedback to webmaster