Search Results

Search: Posts Made By: Guyverix
4,435
Posted By Guyverix
you could try ls -lat --time-style=iso ...
you could try ls -lat --time-style=iso

---------- Post updated at 01:36 PM ---------- Previous update was at 01:35 PM ----------

Grin, guess I should refresh my pages when I get back from...
4,435
Posted By Guyverix
Have you thought about just converting these...
Have you thought about just converting these dates into integers for the comparison?

date +%s for now, and
date --date=yesterday +%s (or whatever you inject via loop)
14,856
Posted By Guyverix
Thanks! Thats exactly what I needed!
Thanks! Thats exactly what I needed!
2,058
Posted By Guyverix
Hmm, any chance you could cheat, and run the log...
Hmm, any chance you could cheat, and run the log file through a sed statement and have it pull out ^0 and see what happens with no leading zeros in the log?
14,856
Posted By Guyverix
Match hex value in string (Perl)
I am trying to match a character return from a website so that I can replace it. It is the '...' character (didnt even know it existed initially). The character apparently has the hex value of...
2,058
Posted By Guyverix
What happens with a AM time that is greater than...
What happens with a AM time that is greater than 09:59, and any PM time? (thinking it might be a leading 0 problem, maybe?)

Can I assume that the log files will have one entry per line, and do not...
8,118
Posted By Guyverix
I believe that you have to do a killall on the...
I believe that you have to do a killall on the process that is calling your jar file. You could cheat and do a ps aux | grep [o]c4j.jar | awk '{print $2}' to get the pid number and then just kill...
2,495
Posted By Guyverix
Thanks! I begged some of the other guys I...
Thanks!

I begged some of the other guys I know to assist me, and they gave me two other options as well.. Here they are for anyone else who needs something like this..

sed -e 's/^\[[^]]*\]...
10,983
Posted By Guyverix
Any chance that it is due to not having a full...
Any chance that it is due to not having a full path? As I recall cron does not normally set up the entire environment including path data.
2,495
Posted By Guyverix
Sorry, I meant the characters "[" "]". A...
Sorry, I meant the characters "[" "]".

A couple more line of the error log can easily be provided.. Here ya go..

[Wed Sep 24 08:32:58 2008] [warn] module authz_svn_module is already loaded,...
2,495
Posted By Guyverix
sed remove statement
I am having some problems with sed, that I am hoping that I can get some assistance with. I am trying to remove two subsets of a string, and cannot figure out how to have it work.

Here is an...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 12:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy