User Tools

Site Tools


linux:scribble

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:scribble [2021/11/01 08:59] – add ffmpeg styblalinux:scribble [2022/07/06 16:30] – change keyboard layout in console stybla
Line 111: Line 111:
 </code> </code>
  
-===== Exercises ======+==== Exercises =====
  
 [[https://www.codingunit.com/category/programming-algorithms|Programming algorithms at CodingUnit]]. [[https://www.codingunit.com/category/programming-algorithms|Programming algorithms at CodingUnit]].
  
 +===== Change keyboard layout in console =====
 +
 +''loadkeys /usr/share/keymaps/i386/qwerty/us.kmap.gz''
  
 ===== Cisco IOS notes ===== ===== Cisco IOS notes =====
Line 331: Line 334:
  
 ===== loop-AES ===== ===== loop-AES =====
 +
 +==== Decrypt loopAES encrypted partition =====
 +
 +<code>
 +gpg --decrypt private.gpg | \
 +  cryptsetup loopaesOpen \
 +  /dev/mapper/xxx \
 +  newvolumename \
 +  --key-file=- \
 +  --key-size 128 \
 +  --hash sha256
 +</code>
 +
 +Note that this isn't for ''/etc/fstab''.
  
 ==== Resize encrypted LVM backed partition ===== ==== Resize encrypted LVM backed partition =====
linux/scribble.txt · Last modified: 2022/07/06 17:27 by stybla