Improve and document dmesg file read

This commit is contained in:
Andrea Cardaci 2020-03-15 12:49:34 +01:00
parent 32887085bf
commit 2e6fa047e9

View File

@ -1,9 +1,10 @@
---
functions:
file-read:
- code: |
- description: This is not suitable for binary files.
code: |
LFILE=file_to_read
dmesg -F "$LFILE"
dmesg -rF "$LFILE"
shell:
- description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
code: |