xpub icon indicating copy to clipboard operation
xpub copied to clipboard

POSIX Shell script to get user's display environment variables of any TTY from anywhere.

Results 3 xpub issues
Sort by recently updated
recently updated
newest added

Use login-ctl to get username, use `w` instead of `who` to get display variable directly. ```diff --- batify/xpub/src/xpub.sh 2021-03-24 20:46:54.288945317 +0100 +++ /usr/local/bin/xpub 2021-03-24 21:22:25.474690184 +0100 @@ -66,7 +66,7 @@...

Example output on ubuntu: ``` root pts/1 2018-05-29 13:52 (57.136.143.112) ``` * IP changed So ```who | grep tty1``` returns nothing