Capture Output

How

  1. Pipe command output to pbcopy
  2. For example: grep -r "search term" . | pbcopy
  3. The results go to your clipboard, ready to paste anywhere
  4. No files created, no cleanup needed

Try this

Run date | pbcopy, then paste it into a text editor. The current date appears without creating any files on your system.

Why it works

Use the clipboard instead of temp files.

Open full demonstration ↗