[Li|U]nix: how to get your uid
Self-tutoring about using Linux: the tutor mentions a way to find your own uid.
- Set a task going such as sleep 360 &
- & in the command above puts it to the background so you can still run the terminal.
- ps -l will tell you the processes running with their names. Likely the sleep one is owned by you, so the uid listed with it is likely yours.
Source:
Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.
Leave a Reply
You must be logged in to post a comment.