Clipboard Operations # Copy file contents to clipboard cat file_path | pbcopy # Copy command output to clipboard echo "Hello World" | pbcopy # Paste clipboard contents to terminal pbpaste