#!/bin/bash
echo hello world
这是一个简单的脚本,第一行#!/bin/bash声明了这是一个bash脚本,第二行的意思是显示“hello world”执行的时候一定要先在执行[# chmod u+x hello.sh]给予hello.sh执行的权限,否则就是Command not found这是一个简单的脚本,第一行
#!/bin/bash
echo hello world
这是一个简单的脚本,第一行#!/bin/bash声明了这是一个bash脚本,第二行的意思是显示“hello world”执行的时候一定要先在执行[# chmod u+x hello.sh]给予hello.sh执行的权限,否则就是Command not found这是一个简单的脚本,第一行