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)