Results 1 to 3 of 3
I wanted to know how we could open a txt file in its default GUI application using the shell. I know i could cat it out but I am more ...
- 01-29-2012 #1Just Joined!
- Join Date
- Oct 2011
- Posts
- 67
Opening a txt file in default GUI application using shell
I wanted to know how we could open a txt file in its default GUI application using the shell. I know i could cat it out but I am more interested in opening it in its default application.. Btw i was checking the post option and it seems that they have a "solved" option now.. YAYYY...
- 01-29-2012 #2
If I understand you correctly, you want to open document.txt in, for example, gedit. Correct?
If so, just cd to the correct directory, and do:
Or provide the entire path from any directory:Code:gedit document.txt
Code:gedit /path/to/document.txt
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 01-29-2012 #3Just Joined!
- Join Date
- Oct 2011
- Posts
- 67
Yeah.. That worked thanks... though am using geany ..


