TIL: Copy File Contents to Clipboard with `xclip`
Instead of cat filename | xclip, just use:
xclip < filenameIt’s a more concise approach, saving keystrokes and avoiding the unnecessary cat command.
Instead of cat filename | xclip, just use:
xclip < filenameIt’s a more concise approach, saving keystrokes and avoiding the unnecessary cat command.