DEV Community

Mohan Sharma
Mohan Sharma

Posted on

Install xclip on amazon EC2

we can use xclip in linux to copy content of a file in clipboard.
sudo amazon-linux-extras install epel -y
sudo yum install xclip -y

We use the xclip-copyfile filename command to copy the file into a clipboard. This command will store the file into a clipboard.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay