lsblk > output1.txt

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop1 7:1 0 64M 1 loop /snap/core20/2379
loop2 7:2 0 63.7M 1 loop /snap/core20/2434
loop3 7:3 0 38.8M 1 loop /snap/snapd/21759
loop4 7:4 0 44.1M 1 loop /snap/snapd/22991
loop5 7:5 0 66.2M 1 loop /snap/core24/609
loop6 7:6 0 52.7M 1 loop /snap/certbot/4182
loop7 7:7 0 52.7M 1 loop /snap/certbot/4193
sda 8:0 0 119.2G 0 disk
|-sda1 8:1 0 487M 0 part /boot
|-sda2 8:2 0 1K 0 part
`-sda5 8:5 0 118.8G 0 part
`-sda5_crypt 254:0 0 118.7G 0 crypt
|-www1--vg-root 254:1 0 117.8G 0 lvm /var/tmp
| /tmp
| /
`-www1--vg-swap_1 254:2 0 976M 0 lvm [SWAP]



lsblk --fs > output2.txt

NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop1 0 100% /snap/core20/2379
loop2 0 100% /snap/core20/2434
loop3 0 100% /snap/snapd/21759
loop4 0 100% /snap/snapd/22991
loop5 0 100% /snap/core24/609
loop6 0 100% /snap/certbot/4182
loop7 0 100% /snap/certbot/4193
sda
|-sda1 ext2 1.0 4ef4948e-b54b-418b-96fd-3cf1f6a30c7d 320.7M 24% /boot
|-sda2
`-sda5 crypto_LUKS 2 ea0b7f4b-b4bf-4b39-9277-0138d69f796f
`-sda5_crypt LVM2_member LVM2 001 CjcMdy-h1xL-3CDb-0ocU-UkSa-1hVI-MkVloh
|-www1--vg-root ext4 1.0 166ea4a4-2fd9-47ea-9386-dda538ab708b 93.7G 14% /var/tmp
| /tmp
| /
`-www1--vg-swap_1 swap 1 fb4efa59-3bd7-4c26-afa8-9c4b197c03d1 [SWAP]



lsblk --fs --output PARTTYPE > output3.txt

PARTTYPE








0x83
0x5
0x83