Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • \$\begingroup\$ How about ls|xclip? \$\endgroup\$ Commented Feb 26, 2017 at 19:20
  • \$\begingroup\$ @seshoumara Thanks! (and to think that I ls /usr/bin | grep "^.\{1,3\}$"'d to search for a shorter command :P) \$\endgroup\$ Commented Feb 26, 2017 at 19:26
  • 3
    \$\begingroup\$ Or w|xclip for one less. Dumps list of logged-in users to the clipboard. \$\endgroup\$ Commented Feb 26, 2017 at 21:56
  • 5
    \$\begingroup\$ Or :|xclip. Actually clears the clipboard. \$\endgroup\$ Commented Feb 27, 2017 at 5:39
  • 1
    \$\begingroup\$ Huh, works on my machine. And since submissions may expect empty input, so would a bare xclip without any pipes. \$\endgroup\$ Commented Feb 27, 2017 at 19:39