Saturday, May 23, 2015

Simple one line script for checking the file existence.


A single line script / command to find the particular file exists or not.
# test -f a.txt && echo "File exists" || echo "File does not exist"

0 Comments: