Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 292

defaults(1) is a macOS console application used to manage user preferences stored in property list files.

18 votes

Change the default application (for a file extension) via script/command line?

To do this I type: defaults write com.apple.LaunchServices LSHandlers -array-add '{ LSHandlerContentType = \"public.plain-text\"; LSHandlerRoleAll = \"com.sublimetext.2\"; }' If I want the changes to …
Ian C.'s user avatar
  • 46.5k
2 votes
Accepted

Is there a default location for 'linux too applications'

The short answer is, unfortunately, no there isn't a default location. But it's not complete chaos. For command line tools that ship with the OS or get brought in by Apple-supplied applications like X …
Ian C.'s user avatar
  • 46.5k