• IEEE 1003.2-1992

    Superseded A superseded Standard is one, which is fully replaced by another Standard, which is a new edition of the same Standard.

    IEEE Standard for Information Technology--Portable Operating System Interfaces (POSIX(TM))--Part 2: Shell and Utilities

    Available format(s):  PDF

    Superseded date:  06-12-2001

    Language(s):  English

    Published date:  23-06-1993

    Publisher:  Institute of Electrical & Electronics Engineers

    Add To Cart

    Table of Contents - (Show below) - (Hide below)

    1 General
      1.1 Scope
      1.2 Normative References
      1.3 Conformance
      1.4 Test Methods
    2 Terminology and General Requirements
      2.1 Conventions
      2.2 Definitions
      2.3 Built-In Utilities
      2.4 Character Set
      2.5 Locale
      2.6 Enviroment Variables
      2.7 Required Files
      2.8 Regular Expression Notation
      2.9 Dependencies on Other Standards
      2.10 Utility Conventions
      2.11 Utility Description Defaults
      2.12 File Format Notation
      2.13 Configuration Values
      2.14 Terminal Characteristics
    3 Shell Command Language
      3.1 Shell Introduction
      3.2 Quoting
      3.3 Token Recognition
      3.4 Reserved Words
      3.5 Parameters and Variables
      3.6 Word Expansions
      3.7 Redirection
      3.8 Exit Status and Errors
      3.9 Shell Commands
      3.10 Shell Grammar
      3.11 Signals and Error Handling
      3.12 Shell Execution Environment
      3.13 Pattern Matching Notation
      3.14 Special Built-In Utilities
    4 Execution Environment Utilities
      4.1 awk - Pattern scanning and processing language
      4.2 basename - Return nondirectory portion of
                       pathname
      4.3 bc - Arbitrary-precision arithmetic language
      4.4 cat - Concatenate and print files
      4.5 cd - Change working directory
      4.6 chgrp - Change file group ownership
      4.7 chmod - Change file modes
      4.8 chown - Change file ownership
      4.9 cksum - Write file checksums and sizes
      4.10 cmp - Compare two files
      4.11 comm - Select or reject lines common to two files
      4.12 command Execute a simple command
      4.13 cp - Copy files
      4.14 cut - Cut out selected fields of each line of a
            file
      4.15 date - Write the date and time
      4.16 dd - Convert and copy a file
      4.17 diff - Compare two files
      4.18 dirname - Return directory portion of pathname
      4.19 echo - Write arguments to standard output
      4.20 ed - Edit text
      4.21 env - Set environment for command invocation
      4.22 expr - Evaluate arguments as an expression
      4.23 false - Return false value
      4.24 find - Find files
      4.25 fold - Fold lines
      4.26 getconf - Get configuration values
      4.27 getopts - Parse utility options
      4.28 grep - File pattern searcher
      4.29 head - Copy the first part of files
      4.30 id - Return user identity
      4.31 join - Relational database operator
      4.32 kill - Terminate or signal processes
      4.33 ln - Link files
      4.34 locale - Get locale-specific information
      4.35 localedef - Define locale environment
      4.36 logger - Log messages
      4.37 logname - Return to the login name of the user
      4.38 lp - Send files to a printer
      4.39 ls - List directory contents
      4.40 mailx - Process messages
      4.41 mkdir - Make directories
      4.42 mkfifo - Make FIFO special files
      4.43 mv - Move files
      4.44 nohup - Invoke a utility immune to hangups
      4.45 od - Dump files in various formats
      4.46 paste - Merge corresponding or subsequent lines
            of files
      4.47 pathchk - Check pathnames
      4.48 pax - Portable archive interchange
      4.49 pr - Print files
      4.50 printf - Write formatted output
      4.51 pwd - Return working directory name
      4.52 read - Read a line from standard input
      4.53 rm - Remove directory entries
      4.54 rmdir - Remove directories
      4.55 sed - Stream editor
      4.56 sh - Shell, the standard command language
            interpreter
      4.57 sleep - Suspend execution for an interval
      4.58 sort - Sort, merge or sequence check text files
      4.59 stty - Set the options for a terminal
      4.60 tail - Copy the last part of a file
      4.61 tee - Duplicate standard input
      4.62 test - Evaluate expression
      4.63 touch - Change file access & modification times
      4.64 tr - Translate characters
      4.65 true - Return true value
      4.66 tty - Return the terminal name of the user
      4.67 umask - Get or set the file mode creation mask
      4.68 uname - Return system name
      4.69 uniq - Report or filter out repeated lines
            in a file
      4.70 wait - Await process completion
      4.71 wc - Word, line and byte/character count
      4.72 xargs - Construct argument list(s) & invoke
            utility
    5 User Portability Utilities Option
      5.1 alias - Define or display aliases
      5.2 at - Execute commands at a later time
      5.3 batch - Execute commands when the system load
            permits
      5.4 bg - Run jobs in the background
      5.5 crontab - Schedule periodic background work
      5.6 csplit - Split files based on context
      5.7 ctags - Create a tags file
      5.8 df - Report free disk space
      5.9 du - Estimate file space usage
      5.10 ex - Text editor
      5.11 expand - Convert tabs to spaces
      5.12 fc - Process command history list
      5.13 fg - Rung jobs in the foreground
      5.14 file - Determine file type
      5.15 jobs - Display status of jobs in the current
            session
      5.16 man - Display system documentation
      5.17 mesg - Permit or deny messages
      5.18 more - Display files on a page-by-page basis
      5.19 newgrp - Change to a new group
      5.20 nice - Invoke a utility with an altered system
            scheduling priority
      5.21 nm - Write the name list of an object file
      5.22 patch - Apply changes to files
      5.23 ps - Report process status
      5.24 renice- Set system scheduling priorities of
            running processes
      5.25 split - Split files into pieces
      5.26 strings - Find printable strings in files
      5.27 tabs - Set terminal tabs
      5.28 talk - Talk to another user
      5.29 time - Time a simple command
      5.30 tput- Change terminal characteristics
      5.31 unalias - Remove alias definitions
      5.32 unexpand - Convert spaces to tabs
      5.33 uudecode - Decode a binary file
      5.34 uuencode - Encode a binary file
      5.35 vi - Screen-oriented (visual) display editor
      5.36 who - Display who is on the system
      5.37 write - Write to another user
    6 Software Development Utilities Option
      6.1 ar - Create and maintain library archives
      6.2 make - Maintain, update and regenerate groups of
            programs
      6.3 strip - Remove unnecessary information from
            executable files
    7 Language-Independent System Services
      7.1 Shell Command Interface
      7.2 Access Environment Variables
      7.3 RE Matching
      7.4 Pattern Matching
      7.5 Command Option Parsing
      7.6 Generate Pathnames Matching a Pattern
      7.7 Perform Word Expansions
      7.8 Get POSIX configurable variables
      7.9 Locale Control
    Annex A (normative) C-Language Development Utilities
            Option
    Annex B (normative) C-Language Bindings Option

    Abstract - (Show below) - (Hide below)

    Defines a standard source-code-level interface to command interpretation, or "shell", services and common utility programs for application programs. Designed for use by application programmers and system implementors. Complimentary to IEEE 1003.1

    General Product Information - (Show below) - (Hide below)

    Committee Portable Applications
    Development Note Also numbered as ISO/IEC 9945-2. Includes IEEE 1003.2a, 1992
    Document Type Standard
    Publisher Institute of Electrical & Electronics Engineers
    Status Superseded
    Superseded By

    Standards Referenced By This Book - (Show below) - (Hide below)

    CSA ISO/IEC/IEEE 9945 : 2010 : R2015 INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX[R]) BASE SPECIFICATIONS, ISSUE 7
    CSA ISO/IEC/IEEE 9945 : 2010 : INC : COR 1 : 2015 INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX[R]) BASE SPECIFICATIONS, ISSUE 7
    02/653424 DC : DRAFT JULY 2002 BS ISO/IEC 9945-1 - INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX) - PART 1: BASE DEFINITIONS
    TS 129 198-2 : 9.0.0 DIGITAL CELLULAR TELECOMMUNICATIONS SYSTEM (PHASE 2+); UNIVERSAL MOBILE TELECOMMUNICATIONS SYSTEM (UMTS); LTE; OPEN SERVICE ACCESS (OSA) APPLICATION PROGRAMMING INTERFACE (API); PART 2: COMMON DATA DEFINITIONS
    CSA ISO/IEC 15068-2 : 2002 : R2006 INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX) SYSTEM ADMINISTRATION - PART 2: SOFTWARE ADMINISTRATION
    TS 102 812 : 1.3.1 DIGITAL VIDEO BROADCASTING (DVB); MULTIMEDIA HOME PLATFORM (MHP) SPECIFICATION 1.1.3
    IEEE DRAFT 1003.7 : D8 FEB 92 DRAFT STANDARD FOR INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX) - SYSTEM ADMINISTRATION INTERFACE
    ISO/IEC 9945-1:2003 Information technology Portable Operating System Interface (POSIX) Part 1: Base Definitions
    ISO/IEC 14515-2:2003 Information technology Portable Operating System Interface (POSIX) Test methods for measuring conformance to POSIX Part 2: Shell and utilities
    02/653425 DC : DRAFT JULY 2002 BS ISO/IEC 9945-2 - INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX) - PART 2: SYSTEM INTERFACES
    BS ISO/IEC 9945-1:2002 Information technology. Portable operating system interface (POSIX) Base Definitions
    ES 204 915-1 : 1.1.1 OPEN SERVICE ACCESS (OSA); APPLICATION PROGRAMMING INTERFACE (API); PART 1: OVERVIEW (PARLAY 6)
    CSA ISO/IEC 15068-2:2002 INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX) SYSTEM ADMINISTRATION - PART 2: SOFTWARE ADMINISTRATION
    BS ISO/IEC ISP 15287-2:2000 Information technology. Standardized application environment profile Posix Realtime Application Support (AEP)
    BS ISO/IEC 15068-2:1999 Information technology. Portable operating system interface (POSIX) system administration Software administration
    CSA ISO/IEC/IEEE 9945 : 2010 INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX[R]) BASE SPECIFICATIONS, ISSUE 7
    IEEE DRAFT 1003.14 : D10 FEB 95 INFORMATION TECHNOLOGY - STANDARDIZATION APPLICATION ENVIRONMENT PROFILE - POSIX MULTIPROCESSING APPLICATION SUPPORT

    Standards Referencing This Book - (Show below) - (Hide below)

    ISO/IEC 9945-1:2003 Information technology Portable Operating System Interface (POSIX) Part 1: Base Definitions
    ANSI INCITS 9 : 78(R1989) PROGRAMMING LANGUAGE FORTRAN
    ISO/IEC 8859-1:1998 Information technology 8-bit single-byte coded graphic character sets Part 1: Latin alphabet No. 1
    ISO/IEC 4873:1991 Information technology ISO 8-bit code for information interchange Structure and rules for implementation
    ISO 8601:2004 Data elements and interchange formats Information interchange Representation of dates and times
    ISO 4217:2015 Codes for the representation of currencies
    ISO/IEC 8859-2:1999 Information technology 8-bit single-byte coded graphic character sets Part 2: Latin alphabet No. 2
    ISO/IEC 9899:2011 Information technology Programming languages C
    ISO/IEC 646:1991 Information technology ISO 7-bit coded character set for information interchange
    • Access your standards online with a subscription

      Features

      • Simple online access to standards, technical information and regulations
      • Critical updates of standards and customisable alerts and notifications
      • Multi - user online standards collection: secure, flexibile and cost effective