06-02-2009
what have you tried till now??
give it a try if you can't do it get back here we will definately help you out..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please tell me how can I wirte a function to return the date 7 days ago by using calendar command? :confused: (2 Replies)
Discussion started by: LAY
2 Replies
2. UNIX for Dummies Questions & Answers
How can I get difference date between today and 15 days ago and all filename is was created before 15 days ago?
It has to be korn shell script.
Thanks. (1 Reply)
Discussion started by: YoungBlood
1 Replies
3. Shell Programming and Scripting
How can I get difference date between today and 15 days ago and all filename is was created before 15 days ago?
It has to be korn shell script.
Thanks. (2 Replies)
Discussion started by: YoungBlood
2 Replies
4. Shell Programming and Scripting
Hi,
Anybody knows how to get what date was 28 days ago of the current system date through UNIX script.
Ex : - If today is 28th Mar 2010 then I have to delete the files which arrived on 1st Mar 2010, (15 Replies)
Discussion started by: kandi.reddy
15 Replies
5. Shell Programming and Scripting
How could I using the following example, change it to show 2 days ago within the same time frame 0600 AM to 0600 AM
let foo=`date "+(1%H-106)*60+1%M-100"` bar=foo+1440
find . -mmin +$foo -mmin -$bar | tr -s '/','-' '^' | cut -f2,3 -d"^" | tr -s '^' ' ' |
Please use code tags (7 Replies)
Discussion started by: freddie999
7 Replies
6. UNIX for Dummies Questions & Answers
I know the topic of getting yesterday's date has been covered ad nauseum, but I just want to be clear on something.
I recently started using the command
date --date='1 days ago' '+%m/%d/%y'
to get yesterday's date and it's been working great. I just want to be certain that it is going to... (1 Reply)
Discussion started by: DeCoTwc
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
the following gives today
$(date '+%d%m%y')
For example 210111 for today (21 of january 2011).
How can I have n days ego ? For example 160111 for 5 days ego ?
thank you. (3 Replies)
Discussion started by: big123456
3 Replies
8. Shell Programming and Scripting
Hi
I have shell script and I am facing the below issue to integrate the date calculation to the the script.
If I give the $1 as the date(20110701) then I need to get the 7 days ago date for the same format.(20110624).
At first I thought its a simple one to handle and I did a search in the... (10 Replies)
Discussion started by: filter
10 Replies
9. UNIX for Beginners Questions & Answers
How to find a file that's modified more than 2 days ago but was modified less than 5 days ago by use of any Linux utility ? (4 Replies)
Discussion started by: abdulbadii
4 Replies
10. Shell Programming and Scripting
Hi all,
I have been researching to obtain SSL certification expiry for most of our webistes. For some cases, some hosts where not directly accessible so i finally got a solution working with curl using my proxy. This lists the expiry date which i'm finally looking for.
# curl --proxy... (4 Replies)
Discussion started by: nms
4 Replies
LEARN ABOUT HPUX
_unw_stack_trace
U_STACK_TRACE(3X) U_STACK_TRACE(3X)
NAME
U_STACK_TRACE(), _UNW_STACK_TRACE() - produce a trace back of the procedure call stack using the unwind library
SYNOPSIS
DESCRIPTION
prints a formatted stack trace to standard error. produces a formatted stack trace on the output stream indicated by parameter out_file.
The stream must be a writable stream for output to be produced.
APPLICATION USAGE
and are thread-safe. They are not async-cancel-safe because they make use of which is not async-cancel-safe. A cancellation point may
occur when a thread is executing
RETURN VALUE
None
ERRORS
can fail to give the entire stack back trace under the following conditions:
o Low memory conditions. The unwind library is not able to allocate enough memory to perform the tasks of tracking back over the stack or
of looking up symbols names associated with instruction pointer addresses encountered.
o Executables and shared libraries that fail to conform to the Runtime Architecture for Itanium-based systems. For example, they may have
invalid, incomplete, or missing unwind tables; or invalid or incorrect unwind information blocks.
EXAMPLES
Given the following C program:
Compiling and executing the program produces output similar to this:
AUTHOR
was developed by HP.
SEE ALSO
_UNW_createContextForSelf(3X), _UNW_currentContext(3X), _UNW_getGR(3X), unwind(5).
Itanium(R)-based System Only U_STACK_TRACE(3X)