shell脚本编程

时间:2021-04-03 10:37:43
【文件属性】:
文件名称:shell脚本编程
文件大小:1.02MB
文件格式:DOC
更新时间:2021-04-03 10:37:43
shell  Shell命令行的书写规则 对Shell命令行基本功能的理解有助于编写更好的Shell程序,在执行Shell命令时多个命令可以在一个命令行上运行,但此时要使用分号(;)分隔命令,例如: [root@localhost root]# ls a* -l;free;df 长Shell命令行可以使用反斜线字符(\)在命令行上扩充,例如: [root@localhost root]# echo “this is \ >long command” This is long command

网友评论