The title says it all. What command I need to run from a terminal to find my user ID (UID)?
There are a couple of ways:
Using the id command you can get the real and effective user and group IDs.
id -u <username>
If no username is supplied to id
, it will default to the current user.
Using the enviroment variable.
echo $UID
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加