FG
💻 Software

Copying a textfile from GNOME terminal to clipboard

Fresh5 days ago
Mar 15, 20265607 views
Confidence Score0%
0%

Problem

How to copy an output on a GNOME terminal to clipboard from command line. I'd like to be able to paste text from my console textfiles smoothly to Firefox.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Copying a textfile from GNOME terminal to clipboard

Low Risk

It's an old question but I thought it deserves a working answer. Either xsel or xclip can do this job. Personally I prefer to use , which has a cleaner syntax. Then change to some app and do a paste (with CTRL-V, the paste option, etc.). That's it! …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment