pwpolicy
Find when the user’s password was last changed #!/bin/bash # Get last password change echo; echo Password Last Changed:; u=$(dscl […]
macOS Macintosh Operating System information
Regular expressions (shortened as regex or regexp) are a powerful mechanism for text processing. You can use regular expressions to
Regular Expressions Read More - click »
https://www.apple.com/supplier-responsibility/
Apple Supplier Responsibility Report Read More - click »
Gatekeeper /usr/libexec/PlistBuddy -c “Print CFBundleShortVersionString” /private/var/db/gkopaque.bundle/Contents/Info.plist XProtect defaults read /Library/Apple/System/Library/CoreServices/XProtect.bundle/Contents/Info.plist CFBundleShortVersionString Check XProtect Version on MacOS Catalina (10.15.x) & MacOS
How to check XProtect and MRT versions running Big Sur? Read More - click »
check whether Firewall is started /usr/libexec/ApplicationFirewall/socketfilterfw –getglobalstate Command Line Firewall Management In OS X 10.10
Command Line Firewall Management In OS X 10.10 Read More - click »
This creates the alia on Desktop cd ~/Desktop ln -s ~/Library/path/to/folder
Make (file or share) alias in Terminal Read More - click »
NAME pgrep, pkill – find or signal processes by name SYNOPSIS pgrep [-Lafilnoqvx] [-F pidfile] [-G gid] [-P ppid] [-U
pgrep, pkill – find or signal processes by name Read More - click »