Re: Copy remote command server to clipboard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



El vie., 23 ago. 2019 a las 11:23, Ralph Corderoy
(<ralph@xxxxxxxxxxxxxxx>) 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!




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux