Terminal Command - TextEdit.app does not exist....

Any clue?


MacBook Pro 13″, macOS 13.7

Posted on Apr 9, 2025 10:41 AM

Reply
11 replies
Sort By: 

Apr 10, 2025 5:23 AM in response to kstrid

kstrid wrote:

I am trying to suppress/prevent this notice coming up....
https://discussions.apple.com/content/attachment/84dd041e-0dae-4f9e-8fec-12d943c80fd7

Go to Safari > Settings > Websites > Notifications and remove everything from the list.


Make sure that "Allow websites to ask for permission to send notifications" is not checked anymore.

Reply

Apr 9, 2025 12:09 PM in response to kstrid

From the Terminal:

# display the open(1) man page in Preview
mandoc -T pdf -mdoc $(which -w open) | open -f -a Preview
# open a default empty TextEdit window
open -e
# open a plain text document in TextEdit
open -e foo.txt
# open a styled Rich Text document in TextEdit
open -e sample.rtf


Reply

Apr 9, 2025 12:25 PM in response to kstrid

For a start, TextEdit.app isn't in /Applications, so your path is incorrect. It's actually in /System/Applications since it's part of the standard MacOS application set.


To overcome this, open has a standard method to find applications using the -a switch:


open -a TextEdit /path/to/some/file


This will use the standard system routine for finding an application and open the specified document in that app. You should only use the application path if you want to override the system. If you're trying to edit a text document, you can use:


open -e /path/to/some/file


which uses the system default text editor, again without needing to know its path.


HOWEVER, even with all that, if you're trying to edit that file you're doomed to failure since, by default, TextEdit won't edit system-related files (lack of permissions). You'll be OK if you're just looking at the file, but any changes won't be written back to that source. Even though you're using sudo to open the file, it won't save that file.

Reply

Apr 11, 2025 3:09 AM in response to kstrid

Are you using anything called "CloudReach"?


Automated translation says that "Enhetsregistrering Cloudreach Inc. kan ställa in din Mac automatiskt." is Swedish for "Device Registration Cloudreach Inc. can set up your Mac automatically."


If the message was Swedish for "Your iCloud has been hacked!!!" or "You have 5 Trojan viruses!!! Remove viruses now!!!", it would clearly be a scam, sent by criminals. This message may be a scam, too – but seems worded a bit differently than the usual ones.

Reply

Terminal Command - TextEdit.app does not exist....

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.