Search Results

Search: Posts Made By: rozee
897
Posted By rozee
Time setup for different date
I want to get sleep time in T variable to start my script next day 22:59:59, if start and current date are different I am not able to achieve that(which is giving negative value), so am just adding...
10,511
Posted By rozee
Table to send mail
I have two details to send in html email, two details present in variables, Processname & date which I need to send html email in table. Column1 is Processname: Process1 & column 2 is date:16/6/16...
3,946
Posted By rozee
Get remaining line after string match
Want to get the remaining line after pattern match Here it starts - executed commands : - pattern to identify 100:27:500:1:34:END
Required output:100:27:500:1:34:END...
1,941
Posted By rozee
Thanks RudiC and Don.... Solution worked... ...
Thanks RudiC and Don.... Solution worked... Also I had another time conversation to take care in this below formate CT="Wed Jun 22 22:20:45 CDT 2016 ...
1,941
Posted By rozee
I am using bash When we get CDT time from...
I am using bash

When we get CDT time from log, the time difference to EDT will be one hour. During that time increment, can we do the below?

CL_ALL=C date -d"$Input" +"%-m/%-d/%y %I:%M %p" "+1...
1,941
Posted By rozee
Code to convert CDT to EDT
Input=$(awk -F="," '/pattern/ {print $1}' logfile | tail -1)
Input=2016-06-08 23:45:36

I have a log file from where I get above CDT time 'Input', want to convert it to below format EDT time
...
Showing results 1 to 6 of 6

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