For a good Linux alternative to pbcopy and pbpaste, try out xclip.
grep text file.txt | xclip -i# copies into primary selectiongrep text file.txt | xclip -i-sel clip # copies into clipboard
xclip -o# prints primary selection
xclip -o-sel clip # prints clipboard, like pbpaste# highlight a selection of text, you don't need to Ctrl-c, just highlight
xclip -o> out.txt # pastes that selection into a file
And if you're using Termux on Android, termux-clipboard-get and termux-clipboard-set give you access to the Android clipboard.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For a good Linux alternative to
pbcopyandpbpaste, try outxclip.And if you're using Termux on Android,
termux-clipboard-getandtermux-clipboard-setgive you access to the Android clipboard.