Copy contents PHP Info to clipboard using Xclip on ubuntu

A quick tip to explain how to copy the content of your PHP Info file to your clipboard from the terminal.


If you have followed the instructions on how to enable pbcopy on ubuntu then you can also use


Gary Woodfine

Technical Director at Denizon
Gary is Technical Director at Denizon, an independent software vendor specialising in IoT, Field Service and associated managed services,enabling customers to be efficient, productive, secure and scalable in a way which helps them address and reduce their ecological impact.

Denizon's product line successfully integrate IoT, Artificial Intelligence and Blockchain technology to enable efficient, productive, secure and scalable solutions to help organisations address increasing energy demands, ecological impact and Health & Safety concerns of their staff.

Latest posts by Gary Woodfine (see all)