Is there any way to make Linux open .txt files in text Editor by default instead of asking whether to open or run it?
Understand that Linux isn't as dependent on extensions as Windows. Which is a good thing as double extension exploits under Windows are a massive issue that has never been rectified.
Decent article explaining files in Linux/Unix.
A file is a file is a file.....