Script to copy a text to clipboard of macOS devices
Using Hexnode, the admin can deploy a script to copy a given text to the clipboard of the target systems. Once the text is copied, the user can paste it multiple times at different places. The text will be stored in the clipboard till another text is copied.
Scripting Language – Bash
File extension – .sh
Copy text to Clipboard
echo Content to be copied to clipboard | pbcopy