Tag Info

Hot answers tagged


Many but not all Unix like system's uname have the n option uname -n


Mac OS X is one of the few Unix-like systems that lets you store and retrieve a name totally distinct from the computer's IP hostname. It's probably best to special-case the call to scutil; if that fails, fall back to the more standard hostname: echo "Welcome, $(whoami), to $(scutil --get ComputerName 2>/dev/null || hostname)."


According to this page, you can use: sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist


0xC0000022L's answer is thorough for the Windows side of things. The Mac can recognize Linux's symlinks; however Linux cannot recognize aliases made in the Mac's Finder (symlinks created using ln -s work fine).

Only top voted, non community-wiki answers of a minimum length are eligible