Update dmesg.md

This commit is contained in:
bcoles 2020-03-15 16:27:04 +11:00 committed by Andrea Cardaci
parent 041cb2fb7b
commit 32887085bf

View File

@ -1,9 +1,17 @@
---
description: |
This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
functions:
sudo:
file-read:
- code: |
LFILE=file_to_read
dmesg -F "$LFILE"
shell:
- description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
code: |
dmesg -H
!/bin/sh
sudo:
- description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
code: |
sudo dmesg -H
!/bin/sh
---