Difference between revisions of "MacOS"

From wikieduonline
Jump to navigation Jump to search
(48 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Lowercase}}
+
{{lowercase}}
[[File:MacOS logo (2017).svg|right|150px|macOS logo]]
+
'''[[wikipedia:macOS|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. <code>[[zsh]]</code> is the default shell replacing <code>[[Bash]]</code> since October 2019.
 
 
'''[[w:macOS|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.<ref>[[Wikipedia: macOS]]</ref>. [[zsh]] is the default shell replacing [[Bash]] since October 2019.
 
  
 
== Resources ==
 
== Resources ==
 
* [[macOS: How to create a folder]]
 
* [[macOS: How to create a folder]]
* [[pkgutil]] software package management tool
+
* <code>[[pkgutil]]</code> software package management tool
* [[homebrew]] software package management tool
+
* <code>[[homebrew]]</code> software package management tool
* Install additional software using [[homebrew]] package management software and <code>[[/brew/]]</code> command.
+
* Install additional software using [[homebrew]] package management software and <code>[[brew]]</code> command.
* [[launchd]] init and operating system service management daemon for MacOS. Path: <code>/Library/LaunchAgents/</code><ref>https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html</ref>
+
* [[launchd]] init and operating system service management daemon for MacOS. Path: <code>[[/Library/LaunchAgents/]]</code><ref>https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html</ref>
  
<pre>
 
sudo launchctl load YOUR_NEW_SERVICE.plist
 
sudo launchctl start com.XXXX.YOUR_NEW_SERVICE
 
</pre>
 
  
 +
sudo [[launchctl load]] YOUR_NEW_SERVICE.plist
 +
sudo [[launchctl start]] com.XXXX.YOUR_NEW_SERVICE
  
* [[/Create a user from command line/]]: <code>sysadminctl -addUser YOUR_USERNAME</code>
+
* [[Activity monitor]]
* Display your [[DNS]] configuration in [[macOS]] running: <code>scutil --dns</code>
+
 
 +
* [[Create a user from command line]]: <code>[[sysadminctl]] -addUser YOUR_USERNAME</code>
 +
* Display your [[DNS]] configuration in [[macOS]] running: <code>[[scutil]] --dns</code>
 
* Sleep your macOS from command line:<code>pmset sleepnow</code>
 
* Sleep your macOS from command line:<code>pmset sleepnow</code>
* Enable ssh from command line:
+
* [[Activate SSH server on macOS]]
: Enable: <code>sudo [[systemsetup]] -setremotelogin on</code><ref>http://osxdaily.com/2016/08/16/enable-ssh-mac-command-line/</ref>
+
:: Enable: <code>sudo [[systemsetup]] -setremotelogin on</code><ref>http://osxdaily.com/2016/08/16/enable-ssh-mac-command-line/</ref>
: Disable: <code>sudo systemsetup -setremotelogin off</code>
+
:: Disable: <code>sudo systemsetup -setremotelogin off</code>
: Status: <code>sudo systemsetup -getremotelogin</code>
+
:: Status: <code>sudo systemsetup -getremotelogin</code>
  
 
== Commands ==
 
== Commands ==
 
* <code>[[defaults]]</code>
 
* <code>[[defaults]]</code>
 
* <code>[[system_profiler]]</code>
 
* <code>[[system_profiler]]</code>
 +
* <code>[[ipconfig]]</code>
 
* <code>[[ifconfig]]</code>
 
* <code>[[ifconfig]]</code>
 
* <code>[[networksetup]]</code>
 
* <code>[[networksetup]]</code>
 
* <code>[[hdiutil]]</code> disk image manipulation tool
 
* <code>[[hdiutil]]</code> disk image manipulation tool
* AppleScript: <code>[[osascript]]</code>. Example: <code>osascript -e 'display notification "Lorem ipsum dolor sit amet" with title "Title"'</code>
+
* [[AppleScript]]: <code>[[osascript]]</code>. Example: <code>osascript -e 'display notification "Lorem ipsum dolor sit amet" with title "Title"'</code>
 
* <code>[[pbcopy]]</code><ref>https://ss64.com/osx/pbcopy.html</ref> Copy to clipboard<ref>https://www.cnet.com/how-to/how-to-pipe-command-output-to-the-clipboard-in-os-x/</ref>
 
* <code>[[pbcopy]]</code><ref>https://ss64.com/osx/pbcopy.html</ref> Copy to clipboard<ref>https://www.cnet.com/how-to/how-to-pipe-command-output-to-the-clipboard-in-os-x/</ref>
* <code>[[mdfind]]</code> finds files matching a given query. Similar to <code>locate</code> command in Linux.
+
* <code>[[mdfind]]</code> finds files matching a given query. Similar to <code>[[locate]]</code> command in Linux.
 +
* <code>[[xcode]]-select --install</code>
 +
* <code>[[diskutil]]</code>
  
 
== Software ==
 
== Software ==
 
* [[Virtualization]]: [[VMware Fusion]]
 
* [[Virtualization]]: [[VMware Fusion]]
 +
* [[Keychain Access]]
 +
 +
== Related terms ==
 +
* [[System Integrity Protection]] ([[2015]])
 +
* [[macOS versions]]
 +
* [[XNU]] kernel
 +
* [[HyperKit]]
 +
* [[Gatekeeper]]
 +
* <code>[[/Volumes/]], [[/media/]], [[/private/]]</code>
 +
* [[Parallels]]
 +
* [[Growl]] [[notification]] system
 +
* [[Recycle bin]]
 +
* [[iMazing]]
 +
* [[MacStadium]], [[AWS EC2 macOS]]
 +
* [[macOS Preview]] application
 +
* [[Secure Enclave Processor (SEP)]]
  
== See Also ==
+
== See also ==
 +
* {{macOS}}
 
* {{OS}}
 
* {{OS}}
  
Line 47: Line 65:
 
[[Category: Computing]]
 
[[Category: Computing]]
 
[[Category:Operating systems]]
 
[[Category:Operating systems]]
 +
[[Category:macOS]]

Revision as of 14:24, 16 March 2022

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. zsh is the default shell replacing Bash since October 2019.

Resources


sudo launchctl load YOUR_NEW_SERVICE.plist
sudo launchctl start com.XXXX.YOUR_NEW_SERVICE
Enable: sudo systemsetup -setremotelogin on[2]
Disable: sudo systemsetup -setremotelogin off
Status: sudo systemsetup -getremotelogin

Commands

Software

Related terms

See also

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

Advertising: