Astuce: Copier du texte dans le presse-papier depuis un terminal Linux

Posted on Sun 05 February 2023 in tip • Tagged with linux

Il suffit d'installer xclip:

sudo dnf install xclip # sur fedora par exemple

Puis, c'est tout simple:

echo "Coucou !" | xclip -selection c

Un exemple d'utilisation: copier une clé publique ssh dans le presse papier depuis le terminal:

cat ~/.ssh/ | xclip -selection c

Continue reading

How to mount a shared folder between Linux KVM Host and Guests

Posted on Tue 21 June 2022 in linux • Tagged with qemu, kvm, linux

Sharing folder between KVM virtual machines and host, may be useful. Here is a way found in fedora forum.


Change vm to your vm hostname.

sudo mkdir -p /mnt/shared
sudo chmod -R a+rwX /mnt/shared
sudo semanage fcontext -a -t svirt_home_t "/mnt/shared(/.*)?"
sudo restorecon -R /mnt …

Continue reading

Install Gephi on Linux

Posted on Sun 19 June 2022 in linux • Tagged with graph, visualization, linux

Gephi is a software package for graph visualization. Let's install it on Linux.

Install Gephi

su - # Switch to root
cd /opt/
wget -o
tar -xzf gephi-0.9.5-linux-x64.tar.gz
rm gephi-0.9.5-linux-x64.tar …

Continue reading