On 5/2/20 5:55 AM, Roger Heflin wrote:
You will want these commands:
sudo "echo ON > /sys/kernel/debug/vgaswitcheroo/switch"
sudo "echo DIS > /sys/kernel/debug/vgaswitcheroo/switch"
that will run the redirect under the sudo.
Nopes.
These commands fail with the error:
sudo: echo ON > /sys/kernel/debug/vgaswitcheroo/switch: command not found
Which makes sense since the entire string in quotes will be treated as
one single command.
Regards,
Sreyan
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx