Dear friends,
I wrote a bash fragment that displays the a file, or creates a file with intermediate directories in the absence of such a file.
[[ -e FILE ]] && cat FILE || touch FILE
I want to do the same thing, but in bash script.
May you explain me how to do that kind of thing.
Thank you very-very much!
P.S I'm a newbie in bash!