Originally Posted by adtuh
I'm sorry. the gedit command did work I just didn't know I had to put "Untitled.txt" behind it.
It will work without a filename, too. Like this:
. The reason I wrote "Untitled.txt" is because you did, and to prove that the file doesn't have to exist.
And i still don't understand what you want to do. I've highlighted what you haven't been very clear with:
How do I launch a (CLI text editor | GUI text editor | word processor)
with (no file | a nonexistent file | an existing file)
from a shell script?
Also, how are you running the script? That might make a difference.