🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.uu.comp.os.linux.questions
2 messages
2 total messages Started by cjm100 Wed, 27 Dec 2000 06:19
Login Count
#360
Author: cjm100
Date: Wed, 27 Dec 2000 06:19
4 lines
1572 bytes
Anyone know a command i can put in a bash shell script to tells you the
number of times you have logged in before now.  This script would be one
that is executed at login.
Thanks
Re: Login Count
#361
Author: amp
Date: Sun, 31 Dec 2000 21:17
26 lines
1949 bytes
Try this...

echo "you have logged in `last $USER | wc -l` times"
you have logged in      30 times

the ` is the grave under the tilde (~) key

On Wed, 27 Dec 2000 06:19:56 GMT, cjm100@home.com <cjm100@home.com> wrote:
>Anyone know a command i can put in a bash shell script to tells you the
>number of times you have logged in before now.  This script would be one
>that is executed at login.
>Thanks
>
>
>


-- 
TANSTAAFL,

amp@pobox.com
http://www.zeugma.nu/

Never be afraid to try something new. 
Remember, amateurs built the ark. 
Professionals built the Titanic.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads