当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: KornShell Reserved variables :1K
 

 

 ·bash 内建命令 read    »显示摘要«
    摘要:read [-ers] [-u fd] [-t timeout] [-a aname] [-p prompt] [-n nchars] [-d delim] [name ...] one line is read from the standard input, or from the file descriptor fd supplied as an argument to the -u opt......
 ·xargs 构造参数列表并运行命令    »显示摘要«
    摘要:xargs 命令 用途 构造参数列表并运行命令。 语法 xargs [ -p ] [ -t ] [ -e [ eofstring ] ] [ -e eofstring ] [ -i [ replacestring ] ] [ -i replacestring ] [ -l [ number ] ] [ -l number ] [ -n number [ -x ] ] [ -s size ] [ c......


KSH用的环境变量
kornshell reserved variables :

1kornshell reserved variables : +-----------+-----------------------------------+-------------------+------+ | variable | what this variable holds | default | who | | | | | sets | +-----------+-----------------------------------+-------------------+------+ | cdpath | directories that cd searches | none | u | | columns | terminal width | 80 | sa | | editor | pathname of command line editor | /bin/ed | u,sa | | env | pathname of startup script | none | u,sa | | errno | error number of most recently | none | ksh | | | failed system call | | | | fcedit | pathname of history file editor | /bin/ed | u,sa | | fpath | path of autoload functions | none | u | | histfile | pathname of history file | $home/.sh_history | u
...   下一页

    摘要:bash中对变量的操作 =============== bash内建参数 =========== bash中对变量的操作 =============== 1.条件变量替换: bash shell可以进行变量的条件替换,既只有某种条件发生时才进行替换,替换 条件放在{}中. (1) $ 当变量未定义或者值为空时,返回值为word的内容,否则返回变量的值. (2) $ 与前者类似,只是若变量未定义或者......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE