阅读背景:

Shell脚本执行的五种方法

来源:互联网 

(1).bash [脚本名称]

[xf@xuexi ~]$ cat a.sh
#!/bin/bash
echo "hello world!"
[xf@xuexi ~]$ bash a.sh
hello world!
[xf@xuexi ~]$ which bash
/usr/bin/bash
[xf@xuexi ~]$ cat a.sh
#!



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: