脚本文件这句是什么意思? #!/usr/bin/bash
是什么意思? 它表明以下的脚本语句用/usr/bin/bash执行。 语法是什么? !什么意思? 可以解释为理解代码的规则吗?Re: 脚本文件这句是什么意思? #!/usr/bin/b
是什么意思?This is an rule form UNIX command parser (of course, linux follows this rule). It telles the system to use which inteprater to excute the script file. You may have:
#!/usr/bin/bash or #!/usr/bin/tcl, etc...
The grammer is #! + inteprater path and name.
页:
[1]