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 not deleted user 147737

macOS is the current marketing name for Apple's Macintosh Operating System. This OS was previously known as OS X, and Mac OS X before that (which itself succeeded the 'classic' Mac OS).

0 votes

How to determine public temp directory on OS X to be write-accessible by www server?

Too long; don't read unless you want a story on how I got to the short answer: On macOS 10.13.6 High Sierra, I can see the rough equivalences of $TMPDIR for different users, e.g. current user and www, … function inner(){ t=$(mktemp) && dirname "$t" ; command rm "$t" ;} && for u in $USER www ;do sudo -u $u bash -c "$(declare -fp inner|awk 'FNR>3{print _}{_=$0}')" ;done) Reading Apple's opensource for my macOS
vike's user avatar
  • 131
2 votes

Where are keyboard shortcuts stored (for backup and sync purposes)?

I don't know about later OS versions but on macOS 10.13 High Sierra (and recognised from earlier versions), apart from what the accepted answer says and likely needed after neovr's answer, there's also …
vike's user avatar
  • 131