TLDR
Enter a command. For example: mkfs.btrfs, mktemp, dunstctl.

cryptsetup

 
Manage plain dm-crypt and LUKS (Linux Unified Key Setup) encrypted volumes. More information: https://gitlab.com/cryptsetup/cryptsetup/.
 
  • Initialize a LUKS volume (overwrites all data on the partition):
     
    cryptsetup luksFormat {{/dev/sda1}}
     
  • Open a LUKS volume and create a decrypted mapping at /dev/mapper/{{target}}:
     
    cryptsetup luksOpen {{/dev/sda1}} {{target}}
     
  • Remove an existing mapping:
     
    cryptsetup luksClose {{target}}
     
  • Change the LUKS volume's passphrase:
     
    cryptsetup luksChangeKey {{/dev/sda1}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.