10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Folks,
Is there a way to cleanup the root entries in the Linux server from the lastlog.
For AIX and SUN server, this has been done Via the fwtmp command. (1 Reply)
Discussion started by: gsiva
1 Replies
2. UNIX for Dummies Questions & Answers
what does the filed +0100 +0000 actually indicates
abcd pts/30 pdd10264 Fri Sep 2 11:06:51 +0100 2011
robo pts/5 pdd10280 Mon Feb 13 16:32:45 +0000 2012 (4 Replies)
Discussion started by: robo
4 Replies
3. Shell Programming and Scripting
I have a test file with the following 2 columns:
Col 1 | Col 2
T1 | 1 <= remove
T5 | 1
T4 | 2
T1 | 3
T3 | 3
T4 | 1 <= remove
T1 | 2 <= remove
T3 ... (7 Replies)
Discussion started by: gctex
7 Replies
4. UNIX for Dummies Questions & Answers
Hi,
How to eliminate the duplicate values in unix? I have a excel file which contains duplicate values.
Need to use this in a script.
Thanks in advance. (3 Replies)
Discussion started by: venkatesht
3 Replies
5. Shell Programming and Scripting
I have a text file of this format...
55 55-45345.xml 20070615
55 55-87655.xml 20070613
34 34-56753.xml 20070614
The text file has values like a number,xml file name, and a date.The first column can have n number of duplicates.And no two dates are equal.Now I sorted out the file.So, it is... (1 Reply)
Discussion started by: gameboy87
1 Replies
6. AIX
There is also "host_last_login" information in a file /etc/security/lastlog .
If I login to an appl (on AIX) via 'rexec' from my pc, I can see there pc's name or its IP:
tty_last_login = rexec
host_last_login = 10.50.38.74
I already collect login time/date/user into my own log... (1 Reply)
Discussion started by: frajer
1 Replies
7. AIX
Dear Friends ,
From 'last' or 'lastlog' command , I can get the last login informations of the users . now as a system admin , If I want to delete the log information from this 'last' 'lastog' command , then is it possible to do ?
plz inform ... ... (1 Reply)
Discussion started by: shipon_97
1 Replies
8. Shell Programming and Scripting
I have input file like below.
I00789524 0213 5212
D00789524 0213 5212
I00778787 2154 5412
The first two records are same(Duplicates) except I & D in the first character. I want non duplicates(ie. 3rd line) to be output. How can we get this . Can you help. Is there any single AWK or SED... (3 Replies)
Discussion started by: awk_beginner
3 Replies
9. UNIX for Dummies Questions & Answers
Hello there,
I "discovered" an interesting command lastlog, but I couldn't find, until now:cool:, if it's possible to get a list of the launched process by users and root during a certain of time...
...any idea would be really appreciated!!!
Thanks in advance.
Giordano Bruno (3 Replies)
Discussion started by: Giordano Bruno
3 Replies
10. HP-UX
how to get duplicates in a file containing data in columns using command or scripting? (4 Replies)
Discussion started by: megh
4 Replies