advertisement

Article:
  Learning the Mac OS X Terminal: Part 1
Subject:   Mac-like editing
Date:   2001-12-18 10:33:41
From:   chris_stone
Response to: Mac-like editing

Yes, open -e is a great command, which I'll explain further in Part 2. However, if you've applied Apple's security update already , open will no longer correctly work with sudo. That it, it will no longer let you edit the file and save it as root.


One workaround to this, however, is to run the actual TextEdit executable from the CLI like this:


%sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/crontab


Thanks for the comment!


--Chris


1 to 2 of 2
  1. Mac-like editing
    2002-01-27 06:23:01  dusterella [View]

    • Mac-like editing
      2002-02-11 11:51:06  itgs__ [View]

  2. Mac-like editing
    2001-12-18 13:00:50  pmccann [View]

1 to 2 of 2