Today I learned about options for the ‘local‘ keyword in bash scripts, include ‘-r’ for ‘readonly’.
Tag Archives: local
Removing .local from $HOSTNAME on Mac OS X
The $HOSTNAME shell variable on my Mac Book Pro (condor) was “condor.local” but I wanted it to be just “condor”. So I ran:
scutil --set HostName condor
which fixed the problem!
Local language names
Reply
See here for a list of languagse along with their code and local name.