When I use this command to open some text-file ...
> open myFile.text
... then it works perfectly fine. TextEdit opens up and I can read / edit the file. Works with pdf-files the same way too.
But when I do this ...
> open Terminal.app
... then I get an error message:
The file /Users/michael/Downloads/Terminal.app does not exist.
I've found out that I have to add an -a flag:
> open -a Terminal.app
Then the command works as expected: A second terminal is opened.
The man-page of the open-command says:
Specifies the application to use for opening the file*
Okay, well ... but ...
Why do some software work WITHOUT using the -a flag? While other software demands it to be there?