12-16-2011
Or said another way: what are you trying to do exactly - please do not explain with your example.
A good answer might be: I'm trying to see if a log file shows that the process is still running. That appears to me to be what you are doing, by the way.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I want to check what day is today (like mon,Tue,wed)
When i checked the syntax, i dont see there is a format specifier for getting the day. Let me know how to get the same.
I am very new to unix and so I am asking some basic questions.
cheers,
gops (2 Replies)
Discussion started by: gopskrish
2 Replies
2. Shell Programming and Scripting
I need to extract the date part from the file name (20080221 in this ex) and compare it with the current date and delete it, if it is a past date.
$file = exp_ABCD4_T-2584780_upto_20080221.dmp.Z
really appreciate any help.
thanks
mkneni (4 Replies)
Discussion started by: MKNENI
4 Replies
3. UNIX for Dummies Questions & Answers
How do I create a shell script that would get the current system date in format of yyyymmdd and use that result to concatenate it to a filename that it would look like this: sample20051024.dat
example
--------
current system date: 24-Oct-2005
filename: sample.dat
when the shell script... (5 Replies)
Discussion started by: wtolentino
5 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
Hi,
I have start date and end date in the following format. I need to check the current date is greater than the start date and less than the end date. if i use the command date --date "Tue 6:00 AM", it takes next Tues day not the current week's Tues day. Is there a way to get the current Tues... (9 Replies)
Discussion started by: bharathappriyan
9 Replies
6. UNIX for Dummies Questions & Answers
Hello gurus,
I am hoping someone can help me with the required code/script to make this work. I have the following file with records starting at line 4:
NETW~US60~000000000013220694~002~~IT~USD~2.24~20110201~99991231~01~01~20101104~... (4 Replies)
Discussion started by: chumsky
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am new to unix and I am stuck on how to compare two .zip file with date stamp in my directory. I need to compare out of the two file which is oldest to current date and unzip it after that done continue to unzip the second zip file.
Thanks for your help. (5 Replies)
Discussion started by: lilvi3tboix1
5 Replies
8. Shell Programming and Scripting
Hi
i have a file containg dates likebelow
4/30/2013
3/31/2013
4/30/2013
4/16/2013
4/30/2013
4/30/2013
5/30/2013
5/30/2013
4/30/2013
5/30/2013
5/30/2013
3/31/2013
now i want to compare the above dates with current date and i want to display the difference . (10 Replies)
Discussion started by: siva kumar
10 Replies
9. UNIX for Beginners Questions & Answers
Can someone help me with the code wherein there is a file f1.txt with different column and 34 column have expiry date and I need to get that and compare with system date and if expiry date is <system date remove those rows and other rows should be moved to new file f2.txt .
I don't want to delete... (2 Replies)
Discussion started by: Stuti
2 Replies
10. Answers to Frequently Asked Questions
I m working on shell scripting and I m stuck where in my .txt file there is column as expiry date and I need to compare that date with system date and need to remove all the rows where expiry date is less than system date and create a new .txt with update. (1 Reply)
Discussion started by: Stuti
1 Replies
LEARN ABOUT DEBIAN
arbtt-recover
ARBTT-RECOVER(1) Program references ARBTT-RECOVER(1)
NAME
arbtt-recover - tries to recover a broken arbtt data log
SYNOPSIS
arbtt-recover [OPTION...]
DESCRIPTION
arbtt-recover tries to readsthe data samples recorded by arbtt-capture(1), skipping over possible broken entries. A fixed log file is
written to <file>~/.arbtt/capture.log.recovered</file>. If the recovery was successful, you should stop arbtt-capture and move the file to
<file>~/.arbtt/capture.log</file>.
As a sid effect, arbtt-recover applies the log compression method implemented in version 0.4.5 to the samples created by an earlier
version. If you have a large logfile written by older versions, running arbtt-recover is recommended.
OPTIONS
-h, -?, --help
shows a short summary of the available options, and exists.
-V, --version
shows the version number, and exists.
-i, --infile
logfile to use instead of ~/.arbtt/capture.log
-o, --outfile
where to save the recovered file, instead of ~/.arbtt/capture.log
FILES
~/.arbtt/capture.log
binary file, storing the arbtt data samples
~/.arbtt/capture.log.recovered
binary file, storing the fixed arbtt data samples
SEE ALSO
See the arbtt manual for more information and the arbtt hackage page[1] for newer versions of arbtt.
AUTHORS
Joachim Breitner <mail@joachim-breitner.de>
Main author of arbtt
Sergey Astanin <s.astanin@gmail.com>
Contributor
Martin Kiefel <mk@nopw.de>
Contributor
Muharem Hrnjadovic <muharem@linux.com>
Contributor
NOTES
1. arbtt hackage page
http://www.hackage.org/package/arbtt
arbtt manual 04/07/2012 ARBTT-RECOVER(1)