I'm trying to create a man script with out any success. Where in my files should I be placing my testScript.1 file for it to work visually as a man page?
So far I've tried by storing it just within two newly created directories in my home directory like so:
~/lab2/man1/testScript.1
I've also tried compressing the testScript.1 file into a tar.xz file and manually moving it to /usr/share/man/man1 with the file manager, but permission seems to be denied for some reason.
Also, when I try:
man testscript
the only result is: "No manual entry for testscript"
Where should it be located and how do I get it in there when "permission is denied" Thanks