Fabián Heredia Montiel Asked: 2020-12-02 11:32:45 +0800 CST 2020-12-02 11:32:45 +0800 CST 2020-12-02 11:32:45 +0800 CST How to tell if a file exists in fish? 772 Suppose I am in a directory and I want to know if a named file archivoexists. How can I check it? archivo 1 Answers Voted Best Answer Fabián Heredia Montiel 2020-12-02T11:32:45+08:002020-12-02T11:32:45+08:00 It can be solved as follows: if test -e ./archivo echo "El archivo existe" end Extracted from How to test for file or directory in Fish
It can be solved as follows:
Extracted from How to test for file or directory in Fish