id -u
Use
id -u
What It Does
id -u prints your numeric user id.
Practice
Use it when computing your personal service port.
Watch Out
Your username and numeric user id are different identifiers.
Linux Foundationsid -u
id -u prints your numeric user id.
Use it when computing your personal service port.
Your username and numeric user id are different identifiers.