How to Copy cat Output to Clipboard on Linux Mint

1 · Hayato Iriumi · Aug. 19, 2021, 9:03 p.m.
There may be times when you want to copy the output of cat command to your clipboard. cat foo.txt | pbcopy is available on macOS but how do we do something like that on Linux Mint (or Ubuntu)? xclip can be installed to accomplish that. Install xclip. By doing something like the following, you can … Continue reading "How to Copy cat Output to Clipboard on Linux Mint"...