shell基本认识

shell基本认识

bash

# echo $BASH
/bin/bash

第一个shell脚本first_shell.sh

#!/bin/bash
echo "Hello world!";

执行

/bin/bash first_shell.sh 

猜你喜欢

转载自www.cnblogs.com/jiqing9006/p/10028654.html