Shell Scripting text file creation issue
Hi all.
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
touch testfile1.txt
Also, I've tried
cat > testfile1.txt
(text)
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?
|