linux shell

echo "hello world"

打印出来

 

第一行为bash在bin里的pwd

vi test.sh

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

./test.sh 运行shell

 

posted @ 2018-11-06 14:23  Corey0606  阅读(116)  评论(0编辑  收藏  举报