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

Freelance Full Stack Developer at
Helps businesses by improving their technical proficiencies and eliminating waste from the software development pipelines.

A unique background as business owner, marketing, software development and business development ensures that he can offer the optimum business consultancy services across a wide spectrum of business challenges.

Latest posts by Gary Woodfine (see all)