[arch-general] Copy remote command server to clipboard

Maykel Franco maykeldebian at gmail.com
Mon Aug 26 11:47:26 UTC 2019


El vie., 23 ago. 2019 a las 11:23, Ralph Corderoy
(<ralph at inputplus.co.uk>) escribió:
>
> Hi Maykel,
>
> > ssh 192.168.0.3
> > # pwd
> > /home/archlniux
> > (I like copy the command return to my clipboard archlinux desktop
> > client)
>
>     ssh 192.168.0.3 pwd | xsel -b
>
> --
> Cheers, Ralph.

Many thanks Ralph, it works, but... Is possible launch the command in my server?

First:

ssh 192.168.0.3

Second:

pwd | xsel -b

This is because I exec multiple same commands every day and copy the
return manually with mouse is tedious!


More information about the arch-general mailing list