Character Where Meaning
ESC csh Filename completion.
RETURN csh, sh Execute command.
space csh, sh Argument separator.
TAB csh, sh Argument separator.
TAB bash Filename completion.
# csh, sh Start a comment.
` csh, sh Command substitution (backquotes).
" csh, sh Weak quotes.
' csh, sh Strong quotes.
\ csh, sh Single?character quote.
$var csh, sh Variable.
${var} csh, sh Same as $var.
$var:mod csh Edit var with modifier mod
${var?default} sh If var not set, use default.
${var=default} sh If var not set, set it to default and use that value.
${var+instead} sh If var set, use instead. Otherwise, null string.
${var?message} sh If var not set, print message (else default). If var set, use its value.
${var#pat} ksh, bash Value of var with smallest pat deleted from start.
${var##pat} ksh, bash Value of var with largest pat deleted from start.
${var%pat} ksh, bash Value of var with smallest pat deleted from end.
${var%%pat} ksh, bash Value of var with largest pat deleted from end.
| csh, sh Pipe standard output.
|& csh Pipe standard output and standard error.
^ sh Pipe character (obsolete).
^ csh, bash Edit previous command line.
& csh, sh Run program in background.
? csh, sh Match one character.
* csh, sh Match zero or more characters.
; csh, sh Command separator.
;; sh [/td]End of case statement.[/tr]
~ csh, ksh, bash Home directory.
~user csh, ksh, bash Home directory of user.
! csh, bash Command history.
- Programs Start of optional argument.
- Programs Read standard input. (Only certain programs.)
$# csh, sh Number of arguments to script.
"$@" sh Original arguments to script.
$* csh, sh Arguments to script.
$- sh Flags set in shell.
$? sh Status of previous command.
$$ csh, sh Process identification number.
$! sh Process identification number of last background job.
$< csh Read input from terminal.
cmd1 && cmd2 csh, sh Execute cmd2 if cmd1 succeeds.
cmd1 || cmd2 csh, sh Execute cmd2 if cmd1 succeeds.
$(..) ksh, bash Command substitution.
((..)) ksh, bash Arithmetic evaluation.
\. file sh Execute commands from file in this shell.
: sh Evaluate arguments, return true.
: sh Separate values in paths.
: csh Variable modifier.
[] csh, sh Match range of characters.
[] sh Test.
%job csh, ksh, bash Identify job number.
(cmd;cmd) csh, sh Run cmd;cmd in a subshell.
{} csh, bash In?line expansions.
{cmd;cmd;} sh Like (cmd;cmd) without a subshell.
>file csh, sh Redirect standard output.
>>file csh, sh Append standard output.
<file csh, sh Redirect standard input.
<<word csh, sh Read until word, do command and variable substitution.
<<\word csh, sh Read until word, no substitution.
<?word sh Read until word, ignoring leading TABs.
>>! file csh, sh Append to file, even if noclobber set and file doesn't exist.
>! file csh Output to file, even if noclobber set and file exists.
>| file ksh, bash Output to file, even if noclobber set and file exists.
>& file csh Redirect standard output and standard error to file.
m> file sh Redirect output file descriptor m to file.
m>> file sh Append output file descriptor m to file.
m< file sh Redirect input file descriptor m from file.
<&m sh Take standard input from file descriptor m.
<&? sh Close standard input.
>&m sh Use file descriptor m as standard output.
>&- sh Close standard output.
m<&n sh Connect input file descriptor n to file descriptor m.
m<&- sh Close input file descriptor m.
n>&m sh Connect output file descriptor n to file descriptor m.
m>&- sh Close output file descriptor m.

- 大小: 26.7 KB

- 大小: 24 KB

- 大小: 47.7 KB
分享到:
相关推荐
ls -l (list)列表显示文件(默认按文件名排序), 显示文件的权限、硬链接数(即包含文件数,普通文件是1,目录1+)、用户、组名、大小、修改日期、文件名。 ls -t (time)按修改时间排序,显示目录和文件。 ls -lt 是...
- **Special Variables** Special variables like `$0` (script name), `$#` (number of arguments), and `$*` (all arguments) are built into the shell and have specific meanings. - **Options and Arguments**...
This guide lists these features and explains why their use is restricted. Open-source projects developed by Google conform to the requirements in this guide. Note that this guide is not a C++ ...
python学习资源
jfinal-undertow 用于开发、部署由 jfinal 开发的 web 项目
基于Andorid的音乐播放器项目设计(国外开源)实现源码,主要针对计算机相关专业的正在做毕设的学生和需要项目实战练习的学习者,也可作为课程设计、期末大作业。
python学习资源
python学习资源
python学习一些项目和资源
【毕业设计】java-springboot+vue家具销售平台实现源码(完整前后端+mysql+说明文档+LunW).zip
HTML+CSS+JavaScarip开发的前端网页源代码
python学习资源
【毕业设计】java-springboot-vue健身房信息管理系统源码(完整前后端+mysql+说明文档+LunW).zip
成绩管理系统C/Go。大学生期末小作业,指针实现,C语言版本(ANSI C)和Go语言版本
1_基于大数据的智能菜品个性化推荐与点餐系统的设计与实现.docx
【毕业设计】java-springboot-vue交流互动平台实现源码(完整前后端+mysql+说明文档+LunW).zip
内容概要:本文主要探讨了在高并发情况下如何设计并优化火车票秒杀系统,确保系统的高性能与稳定性。通过对比分析三种库存管理模式(下单减库存、支付减库存、预扣库存),强调了预扣库存结合本地缓存及远程Redis统一库存的优势,同时介绍了如何利用Nginx的加权轮询策略、MQ消息队列异步处理等方式降低系统压力,保障交易完整性和数据一致性,防止超卖现象。 适用人群:具有一定互联网应用开发经验的研发人员和技术管理人员。 使用场景及目标:适用于电商、票务等行业需要处理大量瞬时并发请求的业务场景。其目标在于通过合理的架构规划,实现在高峰期保持平台的稳定运行,保证用户体验的同时最大化销售额。 其他说明:文中提及的技术细节如Epoll I/O多路复用模型以及分布式系统中的容错措施等内容,对于深入理解大规模并发系统的构建有着重要指导意义。
基于 OpenCV 和 PyTorch 的深度车牌识别
【毕业设计-java】springboot-vue教学资料管理系统实现源码(完整前后端+mysql+说明文档+LunW).zip
此数据集包含有关出租车行程的详细信息,包括乘客人数、行程距离、付款类型、车费金额和行程时长。它可用于各种数据分析和机器学习应用程序,例如票价预测和乘车模式分析。