Hello,
Is there a way to create a new text document without having to drill down and manually open a text editor like gedit? I have an option to create a new folder in the right-click context menu; but not one to create a new document. How can this be done?
Thanks
Hi
Yup, use the ~/Templates folder eg;
cd ~/Templates
touch "New text.txt"
touch "New script.sh"
touch "New perl.pl"
Now if you right click in the folder a new menu item will appear called “New Document” with the above examples, you can edit the files to add default info say for example your script.sh to already contain the full shebang (#!/usr/bin/bash).
or try the cmd
touch trial.txt
where trial.txt is the new file name
this will create a file of 0 bytes in the current directory
cheers
NB. Not as good as original reply