Re:The Unix `Who` Command
by JdeBP on Thursday September 03, 2020 @03:41PM
(#24367946)
Thanks to setlogin()/getlogin() some operating systems are frustratingly close to the point where all of the relevant information can be read straight out of the kernel's process table, without need for coöperatively maintaining a data file.
On FreeBSD, for example, one can do everything except filter out the terminals where no-one is logged on yet and print a "FROM" column.
On FreeBSD, for example, one can do everything except filter out the terminals where no-one is logged on yet and print a "FROM" column.