From 2e6fa047e92d2a867545612fec9e7eb5f7aba54c Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Sun, 15 Mar 2020 12:49:34 +0100 Subject: [PATCH] Improve and document dmesg file read --- _gtfobins/dmesg.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_gtfobins/dmesg.md b/_gtfobins/dmesg.md index 4929632..f620514 100644 --- a/_gtfobins/dmesg.md +++ b/_gtfobins/dmesg.md @@ -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: |