10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello, I want to write a script that takes a username as input and outputs the user's logins sorted by duration. Also I want to exclude the "still logged in" entries.
I use the "last" command but Im having problems sorting the entries based on the duration.
Can you help me?
Thanks a lot =) (4 Replies)
Discussion started by: ddante
4 Replies
2. Shell Programming and Scripting
Hi,
I’ve a shell script. If I trigger the script it takes one day to complete the execution.
I’ve to start the same script in 3 different logins of Unix machine simultaneously. Do you have any idea how can I make it? Please suggest.
Thank you..
Stop making the font size smaller than... (3 Replies)
Discussion started by: testin
3 Replies
3. Shell Programming and Scripting
Hi,
I've a shell script. If I trigger the script it takes one day to complete the execution.
I've to start the same script in 3 different logins of Unix machine simultaneously. Do you have any idea how can I make it? Please suggest.:(
Thank you.. (1 Reply)
Discussion started by: testin
1 Replies
4. AIX
Hi All,
Any idea on how to write a script on AIX 5.3 to monitor ftp or sftp login failed.
Thanks and more power,
Itik (2 Replies)
Discussion started by: itik
2 Replies
5. Windows & DOS: Issues & Discussions
I have files existing with same names in the folders with date as display below
c:\2010-09-10 <==== folder
arr1.jpg
arr2.jpg
arr3.jpg
arr4.jpg
c:\2010-09-09 <==== folder
arr1.jpg
arr2.jpg
c:\2010-09-08 <==== folder
arr2.jpg
arr3.jpg
arr4.jpg
... (5 Replies)
Discussion started by: jville
5 Replies
6. Shell Programming and Scripting
By a shell script When I am logging into hosts one by one with ssh.
I am getting below message.
Pseudo-terminal will not be allocated because stdin is not a terminal.
stty: : Invalid argument
stty: : Invalid argument
Can you please suggest what should I do to stop this?
... (10 Replies)
Discussion started by: KuldeepSinghTCS
10 Replies
7. Shell Programming and Scripting
Hello Experts,
I have this initial shell script that tracks failed login attempts:
#!/bin/bash
#Fetch failed user logins to file failed-logins.txt
grep -i failed /var/log/secure | awk '{ print $1, $2" ", $3" ", $9" ", $11 }' > failed-logins.txt
#Splitting the failed-logins in... (10 Replies)
Discussion started by: linuxgeek
10 Replies
8. Shell Programming and Scripting
This is the contents of my file:
donald.duck 12/07/2009 12:07:58
donald.duck 12/07/2009 12:17:36
donald.duck 12/07/2009 12:22:29
donald.duck 12/07/2009 12:26:39
donald.duck 12/07/2009 12:28:01
mickey.mouse 12/07/2009 12:48:49
mickey.mouse 12/07/2009 12:49:33
mickey.mouse 12/07/2009... (3 Replies)
Discussion started by: diallo0024
3 Replies
9. Shell Programming and Scripting
hello gurus ,
i want to merge different column from two different file. file struture is below.
file 1
-------
~information is given
Name class section
A 5 b
B 7 C
D 8 A
file 2 (10 Replies)
Discussion started by: rahul sharma11
10 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I am trying to ssh between two differnt versions on solaris boxes.
The src box has the SSH Secure Shell 3.1.0 on sparc-sun-solaris2.6 and destination has SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0.
I am not trying for passwordless connection. I just want to get it working with a... (3 Replies)
Discussion started by: borncrazy
3 Replies