Ubuntu中文论坛
致力于Ubuntu中文推广
跳到内容
#1
帖子 由 tinnarong » 2012-11-01 13:02
代码: 全选
echo $1 | tee a/uid.txt > a/uid2.txt
#2
帖子 由 YeLee » 2012-11-01 13:27
#3
帖子 由 tinnarong » 2012-11-01 13:49
YeLee 写了:说了,那么高级的重定向bash不行的,要就换zsh。
#4
帖子 由 zhangxiaofir » 2012-11-01 14:53
#5
帖子 由 YeLee » 2012-11-01 15:25
echo $UID |tee uid1.txt > uid2.txt cat uid{1,2}.txt 1000 1000
#6
帖子 由 lldonger » 2012-12-03 17:20
YeLee 写了:代码: 全选echo $UID |tee uid1.txt > uid2.txt cat uid{1,2}.txt 1000 1000 发现我原来不明白楼主的话……
echo $UID |tee uid1.txt uid2.txt
回到 “Shell脚本”