You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
{
|
|
"functions": {
|
|
"sudo": [
|
|
{
|
|
"description": "The command execution is blind (displayed on the virtual console), but it is possible to save the output on a temporary file.",
|
|
"code": "TF=$(mktemp -u)\nsudo openvt -- sh -c \"[command] >$TF 2>&1\"\ncat $TF\n"
|
|
}
|
|
]
|
|
}
|
|
}
|