Difference between revisions of "MacOS"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | |||
[[File:MacOS logo (2017).svg|right|150px|macOS logo]] | [[File:MacOS logo (2017).svg|right|150px|macOS logo]] | ||
Revision as of 09:07, 16 December 2019
macOS (previously Mac OS X, then OS X) is a series of graphical operating systems developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac family of computers.[1]. zsh is the default shell replacing Bash since October 2019.
Contents
Resources
- macOS: How to create a folder
- pkgutil software package management tool
- homebrew software package management tool
- Install additional software using homebrew package management software and
/brew/
command. - launchd init and operating system service management daemon for MacOS. Path:
/Library/LaunchAgents/
[2]
sudo launchctl load YOUR_NEW_SERVICE.plist sudo launchctl start com.XXXX.YOUR_NEW_SERVICE
- Create a user from command line:
sysadminctl -addUser YOUR_USERNAME
- Display your DNS configuration in macOS running:
scutil --dns
- Sleep your macOS from command line:
pmset sleepnow
- Enable ssh from command line:
- Enable:
sudo systemsetup -setremotelogin on
[3] - Disable:
sudo systemsetup -setremotelogin off
- Status:
sudo systemsetup -getremotelogin
Commands
defaults
system_profiler
ifconfig
networksetup
hdiutil
disk image manipulation tool- AppleScript:
osascript
. Example:osascript -e 'display notification "Lorem ipsum dolor sit amet" with title "Title"'
pbcopy
[4] Copy to clipboard[5]mdfind
finds files matching a given query. Similar tolocate
command in Linux.
Software
See Also
- OS: Linux, macOS, Windows, OpenBSD, FreeBSD, NetBSD, Solaris, AIX, Hypervisor, Hyper-converged infrastructure, VxWorks, RTOS, Integrity
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.
Original source: https://en.wikiversity.org/wiki/MacOS
- ↑ Wikipedia: macOS
- ↑ https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html
- ↑ http://osxdaily.com/2016/08/16/enable-ssh-mac-command-line/
- ↑ https://ss64.com/osx/pbcopy.html
- ↑ https://www.cnet.com/how-to/how-to-pipe-command-output-to-the-clipboard-in-os-x/
Advertising: