I need to add a number of minutes to a variable which stores a datetime stamp in the following format DDMMYYYY HH:MM:SS. Currently I am converting the time into a julian time, add the number of minutes(see below). However this method only works if a day has 24 hours. During Daylight saving a day...
Is there any Unix Functions/Procedures that convert an Unix Timestamp to epoch and then return it back to an Unix timestamp.
I can only see C or perl versions on the internet. Has anybody got a Unix script version
regards
Is there a way in Unix Scripting to carry out mathematical functions on dates.
I need to add 120 minutes to a YYYYMMDDHHMM date string that i derived from the Unix date function.
regards
Hi
If I have the following variable set as below, How would I use SED to replace the regular expression/tag ([0-9]\{7}\) with a number ie 1000
INPUT_DATAFILE="NW_S\([0-9]\{7}\)\.TXT
regards
i am trying to split an ASCII file which has over 5 million records (total size of file is 1GB) into equal sizes. However the UNIX split command is to slow. As anybody come across a different/faster way of spliting a large file.
regards
IF I had a UNIX Variable defined as the following.
typeset var1="ABCDE\1FGHIJ"
I need to test whether var1 variable has the substring "\1" within the whole string.
Has anybody got an idea of how I test for a substring within the string.
thanks & regards
I have come across this question about Jumpstart in the SCSA 2 exam. This is the content of the question as i can remember.
question is....
Contents of the rules.ok file on Jumpstart server are
hostname client1 file1 file2 file3
What is true about this line:
a) client runs file1 script...
Does anybody know the answer to this question ?
Which is the maximum number of DNS servers that can be specified in a client's DNS conf file.
A) 2
B) 3
C) 4
d) 5
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.