Created attachment 149892 [details] Here is a screenshot of the error. I am trying to open a .sh file, but I can't. If it is important, I use Garuda Linux (Arch - Linux Zen Kernel).
I guess you are trying to launch/execute it not open it. Try adding `#!/bin/bash` as first line in your sh file.
This looks like the same bug as https://bugs.kde.org/show_bug.cgi?id=431233 If you add `#!/bin/bash` as suggested, you should be able to execute the script from Dolphin *** This bug has been marked as a duplicate of bug 431233 ***