Create a file in /usr/local/bin/
and place the below into it.
#!/usr/bin/env bash
pbcopy < /dev/null
Then make the file executable.
sudo chmod +x /usr/local/bin/{FILENAME}
To use, in the terminal just type the filename.
Create a file in /usr/local/bin/
and place the below into it.
#!/usr/bin/env bash
pbcopy < /dev/null
Then make the file executable.
sudo chmod +x /usr/local/bin/{FILENAME}
To use, in the terminal just type the filename.