Difference between revisions of "Whoami"
Jump to navigation
Jump to search
(Created page with "wikipedia:whoami sudo chown -R $(whoami):staff /usr/local/Caskroom == See also == * {{linux}} Category:Linux") |
|||
(28 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | [[wikipedia:whoami]] | + | {{lowercase}} |
+ | [[wikipedia:whoami]] binary included in <code>[[coreutils]]</code> package. | ||
+ | * https://man7.org/linux/man-pages/man1/whoami.1.html | ||
− | + | * <code>sudo [[chown]] -R $([[whoami]]):[[staff]] [[/usr/local/Caskroom]]</code> | |
+ | * <code>sudo [[chown]] -R $([[whoami]]):[[admin]] /usr/local/* && sudo chmod -R g+rwx /usr/local/*</code> | ||
+ | |||
+ | |||
+ | == Related terms == | ||
+ | * <code>[[who]]</code> | ||
+ | * [[Homebrew]]: <code>[[brew cleanup]]</code> | ||
+ | * [[Windows]]: | ||
+ | ** [[whoami (Windows)]] | ||
+ | ** <code>[[query user]] /server:localhost</code> | ||
+ | * <code>[[aws organizations list-accounts]]</code> | ||
+ | * <code>[[aws iam get-user]]</code> | ||
+ | * <code>[[aws whoami]] = [[aws sts get-caller-identity]]</code> | ||
+ | * <code>[[whoamiaws]], [[awswhoami]]</code> | ||
+ | * <code>[[whoami --version]]</code> | ||
+ | * <code>[[SELECT current user;]]</code> | ||
+ | * <code>[[kubectl auth whoami]]</code> | ||
+ | * [[PostgreSQL]]: <code>[[\du+]]</code> | ||
+ | * <code>[[zkcli whoami]]</code> | ||
== See also == | == See also == | ||
+ | * {{whoami}} | ||
+ | * {{who}} | ||
* {{linux}} | * {{linux}} | ||
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 18:59, 14 March 2024
wikipedia:whoami binary included in coreutils
package.
sudo chown -R $(whoami):staff /usr/local/Caskroom
Related terms[edit]
who
- Homebrew:
brew cleanup
- Windows:
- whoami (Windows)
query user /server:localhost
aws organizations list-accounts
aws iam get-user
aws whoami = aws sts get-caller-identity
whoamiaws, awswhoami
whoami --version
SELECT current user;
kubectl auth whoami
- PostgreSQL:
\du+
zkcli whoami
See also[edit]
Advertising: