Linux tips and tricks


Martin Häggström

xclip

To copy contents directly from xclip in the terminal to the clipboard.
	  
	  echo "Your text here" | xclip -sel clip
	  
	  
	  
	  xclip -in textfile.txt -sel clip