vi test.sh

#!/bin/sh

cat > pipe.out

執行
echo "Hello World" ./test.sh

cat pipe.out
Hello World

文章標籤
全站熱搜
創作者介紹
創作者 helloworld 的頭像
helloworld

Hello World

helloworld 發表在 痞客邦 留言(0) 人氣(17)