Difference between revisions of "MacOS"

From wikieduonline
Jump to navigation Jump to search
Line 16: Line 16:
  
 
* [[Create a user from command line]]: <code>[[sysadminctl]] -addUser YOUR_USERNAME</code>
 
* [[Create a user from command line]]: <code>[[sysadminctl]] -addUser YOUR_USERNAME</code>
* Display your [[DNS]] configuration in [[macOS]] running: <code>[[scutil]] --dns</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>
 
* [[Activate SSH server on macOS]]
 
* [[Activate SSH server on macOS]]

Revision as of 08:35, 2 September 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: