79405807

Date: 2025-02-01 22:54:28
Score: 0.5
Natty:
Report link

I have used this before:

var uidStr = Files.readString(Paths.get("/proc/self/loginuid"));

Example with jshell:

$ jshell
|  Welcome to JShell -- Version 21.0.2
|  For an introduction type: /help intro

jshell> Files.readString(Paths.get("/proc/self/loginuid"));
$1 ==> "226"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ron McLeod