标签: sh
我是Shell脚本的新手。 python print.py> out.txt应该将输出通过管道传输到out.txt。 out.txt确实创建了,但是shell终端给出了一个错误grep: out.txt: No such file or directory
python print.py> out.txt
grep: out.txt: No such file or directory
#!/bin/bash python print.py> out.txt grep 'up' out.txt