记录shell学习笔记
hello.sh
#注释内容 #!/bin/bash #author:sugar #time:2019-12-24 16:00:00 #description:this is the first shell echo "hello world"
赋予执行权限
chmod u+x hello.sh
执行
./hello.sh
输出
hello world
Last updated 5 years ago