Ok heres my problem. I was in vi editing a quotaname.1.gz file and everything was working fine. Now when I try to vi or even cat that same file or any files for that matter in the same directory /usr/share/man/man1 (they are all .gz files) they all seem to be encrypted or something. They are unreadable thats for sure. Did I hit a key combo or something to make it this way? But more importantly how can i fix it.
since ur filename has the extension .gz, you have to gunzip the .gz file. If you are uncompressing it, and try to open the file, it will be encrypted format. So first unzip the file and try it. To unzip the file, use the command, gunzip < quotaname.1.gz