The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
libRmath.so: cannot open shared object file: No such file or directory cdbug High Level Programming 6 02-28-2009 11:43 PM
see if a file is open mainegate Shell Programming and Scripting 1 11-14-2008 06:25 PM
Mac 101: TextEdit iBot OS X Support RSS 0 11-04-2008 03:10 PM
how to open a text file by double clicking on the file name in gtk+ cy163 UNIX for Dummies Questions & Answers 0 06-11-2007 08:32 PM
file activity (open/closed) file descriptor info using KORN shell scripting Gary Dunn UNIX for Dummies Questions & Answers 3 06-07-2004 02:54 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-25-2009
TereNovo TereNovo is offline
Registered User
  
 

Join Date: May 2009
Posts: 1
Question How to open a file in TextEdit

I have found out how to create a file in Terminal from a script result:

sudo diskutil repairPermissions / > ~/Library/Logs/Permissions.log

I want to now open this file in TextEdit, however when I use the standard open command it opens in the default editor. How do I open the above file in TextEdit?
  #2 (permalink)  
Old 05-25-2009
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,954
change the default editor option

Code:
EDITOR=<path_of_text_editor>
Closed Thread

Bookmarks

Tags
file, open, terminal, textedit

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0