linux shell

echo "hello world"

打印出来

第一行为bash在bin里的pwd

vi test.sh

#!/bin/sh
echo "helloworld"
ls
cd ../
ls
cd -

./test.sh 运行shell

 

原文地址:https://www.cnblogs.com/cjj-zyj/p/9915056.html