10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I want to send an email if the time difference from previous mail sent is more than or equal to 30 mins.
I have written below code and it's working fine.
In this script I am storing previous mail sent time in txt file.
Instead of storing in txt file how to store in a variable.... (8 Replies)
Discussion started by: nalu
8 Replies
2. Shell Programming and Scripting
Hi,
I have multiple files that read:
Asa.txt
Bad.txt
Gnu.txt
And I want to rename them using awk to
Asa_ddmmyytt.txt and so on
...
If there is a single command or more efficient executable please share!
Thanks! (4 Replies)
Discussion started by: Jesshelle David
4 Replies
3. Shell Programming and Scripting
Folks,
I need to send a .log file to my email for every one hour from a server that too only in a particular time period. Is awk mandate here? or can we do it in shell scripting only? Please help me in sorting this out.
Cheers,
Arun (3 Replies)
Discussion started by: ArunJanga
3 Replies
4. UNIX for Dummies Questions & Answers
I have a script I want to run in the background, and I have looked it up but I am not exactly sure how to do. First of all to run it in the background do you have to put something in the script or is it just a command when you go to run it. I found this solution to it but once again I am not to... (2 Replies)
Discussion started by: mauler123
2 Replies
5. UNIX for Advanced & Expert Users
Hi all,
I am trying to boot a an OS from RAM...(its a opensolaris based distro)
For this i have picked up 2 key lib files that when copied to /tmp and mounted to respective places will do the job..
The sizes of these files combined comes upto 600mb.(i have 2gb ram)
Now i have also located the... (0 Replies)
Discussion started by: wrapster
0 Replies
6. Shell Programming and Scripting
I need to write a script that copies files from one directory to another that were created after "today 6:30". This script will be NOT be ran at the same time each day.
any help is appreciated. (2 Replies)
Discussion started by: jm6601
2 Replies
7. Shell Programming and Scripting
Hi Guys,
I have two dates as start date and end date.. i need to generate files within these two dates with time interval of half an hour....
i.e. Start Date=25/09/07 12:00:00
End Date=26/09/07 12:00:00
Now i need to generate files every half an... (0 Replies)
Discussion started by: aajan
0 Replies
8. Programming
Hi friends, I need to find average load on my server. The problem would have been quite simple had I required the load averaged over 1 min,5 min or 15 min which I can easily find reading /proc/loadavg (the same as shown by 'uptime') but my requirement compels me to find load averaged over 10 sec or... (2 Replies)
Discussion started by: Rakesh Ranjan
2 Replies
9. Shell Programming and Scripting
Hi ,
I am New to this group and would like to know if someone can help me on this issue :
We need to copy some files from a particular directory to another directory in the same order and time stamps .How can this be achieved .
For Ex :
./ABC/disk101/XYZ has 1000 files with varying... (2 Replies)
Discussion started by: shyam.appalla
2 Replies
10. Solaris
What is the time_wait interval for Solaris 8/9??? and is it configurable???
For example sometimes a clients pc will freeze up dropping the connection, closing the port. The problem is on our side our system still thinks their logged in (until it realizes it dropped on the otherside and drops on... (1 Reply)
Discussion started by: eloquent99
1 Replies