9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The following bash command line works for the last day of the month. Test by replacing the 1 with tomorrows day of month number
&& echo "Day before tomorrow"Can it be used within crontab? As
* * 28-31 * * && echo "Today ls last day of month" >>/tmp/crontabtestI tried to test crontab with... (1 Reply)
Discussion started by: lsatenstein
1 Replies
2. Shell Programming and Scripting
Hi All,
I have result log file which looks like this (below): from the content need to consolidate the result and put it in tabular form
1). Intercomponents Checking
Passed: All Server are passed.
======================================================================
2). OS version Checking... (9 Replies)
Discussion started by: Optimus81
9 Replies
3. Shell Programming and Scripting
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Discussion started by: aix_admin_007
4 Replies
4. Shell Programming and Scripting
Hi All,
I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file.
Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 Replies)
Discussion started by: adept
4 Replies
5. Programming
i am reading and writing to a a file in C language. the input file is described as follows
111 aaa descr1
222 bbb descr2
333 ccc <SPACE> {6 spaces are left after ccc i.e in 3rd column}
444 ddd descr4
when i read and write to a file, the space is not coming in the output file.... (8 Replies)
Discussion started by: vkca
8 Replies
6. UNIX for Advanced & Expert Users
hi,
I am writing one packet receiving program using libpcap library.
Now, I want to check port is already using or not.
how to check in receiver program..
If normal program,using bind return value we can able to check the port is already using or not.
but, in pcap program how can i... (1 Reply)
Discussion started by: ram.sj
1 Replies
7. UNIX for Dummies Questions & Answers
Hii ,
i would like to know how to finish the program...
the pgm given below works but it doesn't satisfy the condition that it should not terminate process when yu press ctrl-D , or ctrl-Z .
how to use trap command for this??
please help....
Q.Shell scrip to implement terminal locking .It... (5 Replies)
Discussion started by: anusha.n
5 Replies
8. UNIX for Dummies Questions & Answers
Hi!
I'm looking for a command/script to be able to get the program who write into a file.
I've a logfile who grow up but I don't find which program write on it :eek:
thanks for your support&help.
.fr. (2 Replies)
Discussion started by: Franzlebord
2 Replies
9. Shell Programming and Scripting
SCO Open Server 5
A program that I am working with outputs data to a system or printer with the traditional output
> lp
This output line along with some other job output formatting information is stored as a defined output within the program so that the average user scrolls the list of... (0 Replies)
Discussion started by: termite
0 Replies