refactor: moved back from specific folder as articles are not really os specific

This commit is contained in:
Michele Cereda
2023-09-14 09:43:37 +02:00
parent d4f6856274
commit b649ebdede
4 changed files with 0 additions and 0 deletions

38
knowledge base/lsblk.md Normal file
View File

@@ -0,0 +1,38 @@
# `lsblk`
## Table of contents <!-- omit in toc -->
1. [TL;DR](#tldr)
1. [Sources](#sources)
## TL;DR
```sh
# Install the tool.
dnf install 'util-linux'
# Show information about block devices.
lsblk
lsblk -a
# Also print other specific columns.
# Mind the '+' character at the beginning.
lsblk -o '+MODEL,SERIAL'
# Show only physical disks
lsblk -d
# Filter by major device numbers.
lsblk -I '8,259'
```
## Sources
- [`man` page][man page]
<!--
References
-->
<!-- Others -->
[man page]: https://linux.die.net/man/8/lsblk