![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| error occurs while some users login | rrlog | HP-UX | 0 | 08-12-2007 04:55 PM |
| Users with login privileges | sprellari | Linux | 2 | 08-23-2006 05:22 AM |
| Change users login name | spacewalker | AIX | 9 | 03-20-2006 11:09 AM |
| Tracking activities of Users using a particular login. | jyotipg | UNIX for Advanced & Expert Users | 4 | 08-04-2003 11:43 AM |
| NIS users cann't login on AIX and HP | mod | UNIX for Advanced & Expert Users | 3 | 08-22-2001 11:25 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
users login
Hello everyone
I need to send to a file the last command from all users who log in and log out by week or month. My questions are I can do it with the command or I need to do a script ? If the answer is I need to do a script, someone can help me because Im complete new to make a script. I know that I can send the last command to a file. last >testlogin.txt but I need to do this more specific by week or month, by user maybe Thanks for your tips Greetings |
|
||||
|
users login
Thanks for your reply joeyg
If I type the last command and to a text file. I get this last >usuarios.txt root pts/0 160.40.35.277 May 22 11:08 still logged in. root pts/0 alopez02 May 22 09:23 - 10:11 (00:47) root pts/0 160.40.35.277 May 20 13:07 - 13:29 (00:21) root pts/1 alopez02 May 19 13:19 - 13:35 (2+00:15) I need to do the same thing but by user, by week or month Thanks again Greetings |
|
||||
|
users login
Hello everyone
I update my question. Thanks for your reply joeyg If I type the last command and send to a text file. I get this last >usuarios.txt root pts/0 160.40.35.277 May 22 11:08 still logged in. root pts/0 alopez02 May 22 09:23 - 10:11 (00:47) root pts/0 160.40.35.277 May 20 13:07 - 13:29 (00:21) root pts/1 alopez02 May 19 13:19 - 13:35 (2+00:15) I need to do the same thing but order by week and user. Another question how I can send the txt file to another computer by ftp Thanks again Greetings |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|