I was wondering if someone could tell me why when I pass in a file name (say "txt.txt') it errors out. (txt.txt is located in the same directory from where I execute my script.)Code:
echo "Enter Name of the first file:"
if[ ! -f $file1]
echo "Sorry, file does not exist."
Sorry if its in the wrong forum section.