GNU SH-Utils (a set of shell utilities)

xiaoxiao2021-03-06  62

original:

http://www.labri.fr/perso/~strandh/teaching/usi/common/sh-@tils/sh-utils_toc.html

Author: David MacKenzie et al.

GNU SH-Utils

A set of shell utilities

For Version 2.0, 31 July 1999

David Mackenzie et al.

Introduction Common Options Date Input Formats

General Date Syntax Calendar Date Time of Day Item Time Zone Item Day of Week Item Relative Item in Date Strings Pure Numbers in Date Strings Authors of getdate Printing Text

Echo: Print A line of text printf: format and print data: print a string unsil interrupted conditions

False: do nothing, unsuccessful true: do nothing, surcessfully test: check file types and compare values

File Type Tests Access Permission Tests File Characteristics Tests String Tests Numeric Tests Connectives for Test Expr: Evaluate Expressions

String Expressions Numeric Expressions Relations for Expr Examples of Using Expr Redirection

TEE: Redirect Output to Multiple Files File Name Manipulation

BaseName: Strip Directory and Suffix from A File Name Dirname: Strip Non-Directory Suffix from A File Name Pathchk: Check File Name Portability Working CONTEXT

PWD: Print Working Directory Stty: Print OR Change Terminal Characteristics

Control settings Input settings Output settings Local settings Combination settings Special characters Special settings printenv: Print all or some environment variables tty: Print file name of terminal on standard input User information

id: Print real and effective uid and gid logname: Print current login name whoami: Print effective user id groups: Print group names a user is in users: Print login names of users currently logged in who: Print who is currently logged in System context

Date: Print Or Set System Date and Time

Time directives Date directives Literal directives Padding Setting the time Options for date Examples of date uname: Print system information hostname: Print or set system name Modified command invocationchroot: Run a command with a different root directory env: Run a command in a modified environment nice : Run A CommiDiS: Run A CommiTy TO HANGUPS Su: Run A Command with Substute User and Group ID Delaying

Sleep: Delay for a specified Time Numeric Operations

Factor: Print Prime Factors SEQ: Print Numeric SEQUENCES INDEX

THIS Document WAS generated on 19 September 1999 Using The Texi2html Translator Version 1.51.

转载请注明原文地址:https://www.9cbs.com/read-120616.html

New Post(0)