![](https://seccdn.libravatar.org/avatar/04e9b659dabb6ef88308aa2c68abeb3e.jpg?s=120&d=mm&r=g)
"S.Toms"
Ok, I havn't quite figure this out and it's bugging me prolly because I have to use awk or somethign and don't understand it. What I'm trying to do within a bash routine is extract the user from the output below pipedream:/home/skull # who am i pipedream!skull pts/2 Jan 4 21:48 (:0)
in this case, skull. Does anyone wantto enlighten me? :)
Use `whoami' instead of `who am i'. Eilert -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Eilert Brinkmann -- Universitaet Bremen -- FB 3, Informatik eilert@informatik.uni-bremen.de - eilert@tzi.org - eilert@linuxfreak.com http://www.informatik.uni-bremen.de/~eilert/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
![](https://seccdn.libravatar.org/avatar/016ae51e77754dc8944dd2738ac90e07.jpg?s=120&d=mm&r=g)
On 5 Jan 2000, Eilert Brinkmann wrote:
eb> "S.Toms"
participants (2)
-
eilert@informatik.uni-bremen.de
-
tomas@primenet.com