termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Execute a command as another user
su
Switch shell to another user.
More information: <https://manned.org/su>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
su - {{username}} -c "{{command}}"
click the source code to copy
install
su
on any operating system with
command-not-found.com