I am new to linux, so would be great if anyone could help me on this!
I want to open a file, say a text file using text editor from terminal. The thing is i dont want to just view/edit the file. I know i could do this using cat or vi. But i wanted to open something by its corresponding application and I wanted to do this from terminal. Is it possible?
I actually wanted to open the file from a gui i am building. I am building my gui using tkinter python.
So i am looking for a command to open the file so that i could use it in my subprocess command.