Tag: commands

macOS: Useful Commands

The intent of this page is a quick reference of some interesting and useful commands.  The following commands had been tested against macOS versions 11.5.2+ . Serial Number ioreg -rd1 -c IOPlatformExpertDevice | awk -F'"' '/IOPlatformSerialNumber/{print $4}' Model Number sysctl -n hw.model | cut -d "," -f 1 | tr -d '[0-9]_' Current logged On User ls -l /dev/console |...Read More »

Windows: Useful Commands

The intent of this page is a quick reference of some interesting and useful PowerShell and other commands. dism Enable/disable telnet client through command line telnet isn’t something that I use often, but when needed, here is the command.  After using telnet, it may be advisable to remove it.  Here are the two commands to add/remove telnet. dism /online /Enable-Feature…

Read More »