Difference between revisions of "MacOS"

From wikieduonline
Jump to navigation Jump to search
Line 30: Line 30:
 
* <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.

Revision as of 07:55, 22 December 2019

macOS logo

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.

Resources

sudo launchctl load YOUR_NEW_SERVICE.plist
sudo launchctl start com.XXXX.YOUR_NEW_SERVICE


Enable: sudo systemsetup -setremotelogin on[3]
Disable: sudo systemsetup -setremotelogin off
Status: sudo systemsetup -getremotelogin

Commands

Software

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: