Two files, with exactly the same content, except one is .txt, another one is .sh, the .txt can be opened, but the .sh can not.
I tried to set the /var/www/html/config/mimetypealiases.json and /var/www/html/config/mimetypemapping.json, and I get to see the preview of the .sh file, but still can’t open it.
I also tried to use onlyoffice, but onlyoffice says it doesn’t support .sh file and didn’t even manage to open .txt file.
I don’t expect to edit the shell/python file, I just want to open it.
Please help.