Shell Scripting text file creation issue
I'm just starting out with shell-scripting, but having a problem with making new text files with the touch or cat > commands.
What I've been doing is
Also, I've tried
cat > testfile1.txt
Regardless, console reports "bash: text1.txt: No such file or directory.
Consfusingly, it works fine in the home-directory. But if I move the file to where I want it, I can no longer view, edit, etc. it.
What am I doing wrong?