info:xclip

Ceci est une ancienne révision du document !


xClip

booster votre copier-collé sous linux… un truc top! notamment pour les mots de passe

 sudo apt-get install xlip
 xclip fichier.txt   

xclip is a command line utility that is designed to run on any system with an X11 implementation. It provides an interface to X selections (“the clipboard”) from the command line. It can read data from standard in or a file and place it in an X selection for pasting into other X applications. xclip can also print an X selection to standard out, which can then be redirected to a file or another program.

https://doc.ubuntu-fr.org/xclip

http://manpages.ubuntu.com/manpages/precise/man1/xclip.1.html

On peut ensuite mettre dans un script pour accélérer, exemple mon script

~/bin/p

  xclip /home/radeff/Documents/perso/password.txt
  echo "Буфер обмена готов" //paste password to clipboard
  

évidemment… faut bien protéger votre fichier de mot de passe!

  • info/xclip.1444296064.txt.gz
  • Dernière modification : 2015/10/08 11:21
  • de radeff