From 030139ba06810c049f3eca09b6137dfcfe9f2024 Mon Sep 17 00:00:00 2001 From: tomit4 Date: Thu, 18 Nov 2021 15:11:21 -0800 Subject: [PATCH] added xclip notes --- linux_notes.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linux_notes.txt b/linux_notes.txt index 8f4b5bc0..74b0b828 100644 --- a/linux_notes.txt +++ b/linux_notes.txt @@ -44,6 +44,9 @@ And decompress directory: gpg -d folder.tar.gz.gpg | tar -xvzf - +To decrypt a gpg file and then take it's out put and copy it into the clipboard using xclip: +gpg -d secret_file.gpg | cat | xclip -sel clip + To mount a usb drive via terminal: cd /mnt mkdir media