Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ GNU shell utilities - Table of Contents

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GNU shell utilities - Table of Contents

GNU sh-utils, version GNU sh-utils 1.12

A set of shell utilities

for version GNU sh-utils 1.12, Sat 05 Nov 1994 08:31:34

David MacKenzie et al.


  • 1. Introduction
  • 2. Common options
  • 3. Printing text
    • 3.1 echo: Print a line of text
    • 3.2 printf: Format and print data
    • 3.3 yes: Print a string until interrupted
  • 4. Conditions
    • 4.1 false: Do nothing, unsuccessfully
    • 4.2 true: Do nothing, successfully
    • 4.3 test: Check file types and compare values
      • 4.3.1 File type tests
      • 4.3.2 Access permission tests
      • 4.3.3 File characteristics tests
      • 4.3.4 String tests
      • 4.3.5 Numeric tests
      • 4.3.6 Connectives for test
    • 4.4 expr: Evaluate expressions
      • 4.4.1 Relations for expr
      • 4.4.2 Numeric expressions
      • 4.4.3 String expressions
      • 4.4.4 Examples of expr
  • 5. Redirection
    • 5.1 tee: Redirect output to multiple files
  • 6. File name manipulation
    • 6.1 basename: Strip directory and suffix from a file name
    • 6.2 dirname: Strip non-directory suffix from a file name
    • 6.3 pathchk: Check file name portability
  • 7. Working context information
    • 7.1 pwd: Print working directory
    • 7.2 stty: Print or change terminal characteristics
      • 7.2.1 Control settings
      • 7.2.2 Input settings
      • 7.2.3 Output settings
      • 7.2.4 Local settings
      • 7.2.5 Combination settings
      • 7.2.6 Special characters
      • 7.2.7 Special settings
    • 7.3 printenv: Print all or some environment variables
    • 7.4 tty: Print file name of terminal on standard input
  • 8. User information
    • 8.1 id: Print real and effective uid and gid
    • 8.2 logname: Print current login name
    • 8.3 whoami: Print effective user id
    • 8.4 groups: Print group names a user is in
    • 8.5 users: Print login names of users currently logged in
    • 8.6 who: Print who is currently logged in
  • 9. System context
    • 9.1 date: Print or set system date and time
      • 9.1.1 Time directives
      • 9.1.2 Date directives
      • 9.1.3 Literal directives
      • 9.1.4 Setting the time
      • 9.1.5 Options for date
      • 9.1.6 Examples of date
    • 9.2 uname: Print system information
    • 9.3 hostname: Print or set system name
  • 10. Modified command invocation
    • 10.1 env: Run a command in a modified environment
    • 10.2 nice: Run a command with modified scheduling priority
    • 10.3 nohup: Run a command immune to hangups
    • 10.4 su: Run a command with substitute user and group id
  • 11. Delaying
    • 11.1 sleep: Delay for a specified time
  • Index


This document was generated on 27 January 1999 using texi2html 1.55k.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026