Simple Commands
来源:互联网 发布:网站防篡改软件 编辑:程序博客网 时间:2024/05/21 11:13
A simple command is the kind of command encountered most often. It’s just a sequence of
words separated by blanks, terminated by one of the shell’s control operators (see Chapter 2
[Definitions], page 3). The first word generally specifies a command to be executed, with
the rest of the words being that command’s arguments.
The return status (see Section 3.7.5 [Exit Status], page 33) of a simple command is its
exit status as provided by the posix 1003.1 waitpid function, or 128+n if the command
words separated by blanks, terminated by one of the shell’s control operators (see Chapter 2
[Definitions], page 3). The first word generally specifies a command to be executed, with
the rest of the words being that command’s arguments.
The return status (see Section 3.7.5 [Exit Status], page 33) of a simple command is its
exit status as provided by the posix 1003.1 waitpid function, or 128+n if the command
was terminated by signal n.
(BASH 官方参考手册 3.2.1)
*************
简单命令是最常用到的一类命令,它只有由 空格 分开的一个序列。一般,第一个字,指定的要运行的命令,后面接着的都是参数。例如:
echo $PATH $HOME
- Simple Commands
- Simple Matlab/Octave Commands to Process Data
- [LinkerScript.5] 简单的链接器脚本命令: 文件命令 - Simple Linker Script Commands: File Commands
- [LinkerScript.8] 简单的链接器脚本命令: 杂项命令 - Simple Linker Script Commands : Miscellaneous Commands
- commands
- Commands
- commands
- [LinkerScript.4] 简单的链接器脚本命令: 入口 - Simple Linker Script Commands: Entry Point
- [LinkerScript.6] 简单的链接器脚本命令: 格式命令 - Simple Linker Script Commands: Format Command
- [LinkerScript.7] 简单的链接器脚本命令: 区域别名 - Simple Linker Script Commands : Region Alias
- simple
- Simple
- Linux Commands
- Solaris commands
- Oracle Commands
- gdb commands
- CVS Commands
- router commands
- 如何设置eclipse不同的workspace共享配置
- 中国风美句
- asp.net 第四天 标签+class选择器
- 递归组合模式(子和父的接口一样,这样container处理子container和leaf一样看待)
- sed命令详解
- Simple Commands
- Google 不死,逆天不止——购入超级量子计算机,建造人工智能实验室【转载】
- java_puzzlers---表达式之谜(一)
- python sorted 多个字段排序
- 修复损坏的初始化参数文件
- javascript & 基本函数
- XP系统常用的快捷键
- php 生成rss文件
- 公共开放WebService接口