shell:没有这样的文件或目录,但已经存在

时间:2019-04-26 06:55:44

标签: sh

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

#!/bin/bash
python print.py> out.txt
grep 'up' out.txt

0 个答案:

没有答案
相关问题