1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-22 20:01:17 +02:00

Improved man.md shell function

Replaced a command requiring interactive actions with a one-liner
This commit is contained in:
nightshiba 2021-02-27 12:39:48 +01:00 committed by GitHub
parent c20963cfd6
commit a3b63dae9e
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,7 @@ description: This invokes the default pager, which is likely to be [`less`](/gt
functions:
shell:
- code: |
man man
!/bin/sh
man --html='$(sh > /dev/tty)' sh
file-read:
- code: man file_to_read
sudo: