系统相关
首页 > 系统相关> > linux-csh行首的&符

linux-csh行首的&符

作者:互联网

行开头的&符在csh中起什么作用?它似乎被忽略(没有错误消息),但是为什么呢?

解决方法:

发现了一些有趣的东西:

The semicolon (;) character separates
successive commands on a single
command line. For example,

% <command1> ; <command2>

executes <command1>, and when it finishes, <command2> gets executed.

The ampersand character (&) is similar
to the semicolon (;) but does not wait
for <command1> to finish.

也许将其视为空命令?

标签:csh,shell,unix,linux
来源: https://codeday.me/bug/20191024/1918784.html