NAME tcpdump - dump traffic on a network DESCRIPTION Tcpdump prints out a description of the contents of packets on a network interface that match the boolean expression; the description…
Find when the user’s password was last changed #!/bin/bash # Get last password change echo; echo Password Last Changed:; u=$(dscl . list /Users | egrep -v '^_|daemon|nobody'); for i in…
Regular expressions (shortened as regex or regexp) are a powerful mechanism for text processing. You can use regular expressions to search for a pattern within a block of text, to…
NAME log -- Access system wide log messages created by os_log, os_trace and other logging systems. DESCRIPTION log is used to access system wide log messages created by os_log, os_trace…
check whether Firewall is started /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate https://krypted.com/mac-security/command-line-firewall-management-in-os-x-10-10/