Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #176288
| From | Johan DS <victor3xray@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Who changed |
| Date | 2017-01-03 18:40 +0100 |
| Message-ID | <sVBe1-1dx-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi
I use the who command in my .zlogin for counting how many times I'm logged
in.
who | awk '$1 == "'$USER'"' | wc -l
previously the output was something like
user tty1
user pts/2
so user was 2 times logged in
However the who output seems to be changed in:
NAME LINE TIME IDLE PID COMMENT EXIT
system boot 2017-01-03 15:56
user - tty1 2017-01-03 15:58 01:52 1067
run-level 5 2017-01-03 15:59
pts/2 2017-01-03 17:22 14868 id=ts/2 term=0
exit=0
Does anybody knows an alternative so I can count my loggins again
Thanks
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Who changed Johan DS <victor3xray@gmail.com> - 2017-01-03 18:40 +0100 Re: Who changed The Wanderer <wanderer@fastmail.fm> - 2017-01-03 19:00 +0100 Re: Who changed "Thomas Schmitt" <scdbackup@gmx.net> - 2017-01-03 19:30 +0100
csiph-web