0
私はWindowsからパテを介してログインするubuntu 16.04 VPSで作業しています。私は次の出力をコピーしたい:Windowsへのコマンドの出力をクリップボードにコピーする
sudo nginx -T
私の窓のクリップボードに。私は試しました:
[email protected]:/etc/nginx/sites-available$ sudo nginx -T | xclip -selection c
Error: Can't open display: (null)
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
ただし、何も私のローカルクリップボードにコピーされません。これをどうすればいいのですか?