There are several ways to take a screenshot on an Apple macOS desktop:
Command + Shift + 3This will save a screenshot of the entire screen as a .png file on the desktop.
Command + Shift + 4Space barThis will save a screenshot of the selected window as a .png file on the desktop.
Command + Shift + 4This will save a screenshot of the selected area as a .png file on the desktop.
You can also use the built-in Screenshot app to take screenshots on your Mac. To access the app, go to Applications > Utilities > Screenshot. From there, you can select the type of screenshot you want to take and customize the capture options.
Note: These keyboard shortcuts will work on most Macs running macOS Mojave or later. If you are using an older version of macOS, the keyboard shortcuts may be different. Consult the documentation for your specific version of macOS for more information.