LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-29-2011, 04:16 PM   #16
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721

Quote:
Originally Posted by adtuh View Post
I'm sorry. the gedit command did work I just didn't know I had to put "Untitled.txt" behind it.
It will work without a filename, too. Like this:

Code:
gedit
. The reason I wrote "Untitled.txt" is because you did, and to prove that the file doesn't have to exist.

And i still don't understand what you want to do. I've highlighted what you haven't been very clear with:

How do I launch a (CLI text editor | GUI text editor | word processor) with (no file | a nonexistent file | an existing file) from a shell script?

Also, how are you running the script? That might make a difference.

Last edited by MTK358; 04-29-2011 at 04:17 PM.
 
Old 04-29-2011, 04:27 PM   #17
adtuh
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by MTK358 View Post
How do I launch a (CLI text editor | GUI text editor | word processor) with (no file | a nonexistent file | an existing file) from a shell script?

Also, how are you running the script? That might make a difference.
I want to open a word processor without an existing file.

I'm editing and running the script through ubuntu's terminal.
 
Old 04-29-2011, 04:39 PM   #18
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Quote:
Originally Posted by adtuh View Post
I want to open a word processor without an existing file.
Good. But why did you keep saying "text editor" all this time?!?

What word processor do you want to open?
 
Old 04-30-2011, 04:33 AM   #19
adtuh
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Original Poster
Rep: Reputation: 0
I just couldn't think of it. It was on the tip of my tongue but I couldn't remember. Simple I know but still...


And I guess my problem is solved as much as it could be because I have OpenOffice on Ubuntu but this might be ran off of mac's unix terminal which wont have the same programs as mine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A text editor supporting DIFFERENT fonts according to syntax highlighting rules TheIndependentAquarius General 25 04-07-2011 10:43 AM
opening files in text editor from the terminal campanula Linux - Newbie 4 03-08-2010 04:51 PM
Simple text editor with syntax highlighting alpha_lt Linux - Newbie 10 07-28-2009 05:22 PM
text editor is not opening up: modified custom command vanna Linux - Newbie 2 03-10-2009 11:57 PM
Text editor capable of opening Images. ////// Programming 5 11-07-2006 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration