Get Console – User Logged – in username
Get logged in user’s name stat -f%Su /dev/console
Get Console – User Logged – in username Read More - click »
macOS Macintosh Operating System information
Get logged in user’s name stat -f%Su /dev/console
Get Console – User Logged – in username Read More - click »
NAME system_profiler — reports system hardware and software configuration. SYNOPSIS system_profiler [-usage] system_profiler [-listDataTypes] system_profiler [-xml] dataType1 … dataTypeN system_profiler
system_profiler Read More - click »
system_profiler SPApplicationsDataType >> ~/Desktop/SomeFilename.txt system_profiler SPInstallHistoryDataType -json | awk -F'”‘ ‘/_name|install_version|install_date/{print $2,$4}’ | grep -A3 “macOS” | sed -e ‘s/_name
List of applications installed? Read More - click »
log stream –predicate ‘(subsystem == “com.apple.CryptoTokenKit”) Link https://support.apple.com/guide/deployment/use-a-smart-card-depc705651a9/web
Troubleshoot Smart Cards Read More - click »
softwareupdate –fetch-full-installer –full-installer-version 10.15.7 –verbose Saved in /Library/Updates. If the new version is not up-to-date and the macOS automatic update
Get macOS 10.15.7 Catalina Read More - click »
System Integrity Protection (SIP) While “rootless” was mostly marketing, SIP actually hardened the Mac by preventing modifications to the following
SIP Protected macOS Apps Read More - click »
How do I SCP from remote machine to local machine? In Terminal DON’T login to the remote machine. Just run:
SCP from remote machine to local machine? Read More - click »
ps aux | grep httpd Internal Apache Binary: /usr/sbin/httpd Start/Stop: sudo /usr/sbin/apachectl start Version: /usr/sbin/apachectl -v Config: /etc/apache2/httpd.conf Find used
Apache macOS Read More - click »