10 More Discussions You Might Find Interesting
My question is how to calculate the quarter end date according to the current date in shell script? (2 Replies)
Discussion started by: Divya_1234
2. UNIX for Beginners Questions & Answers
I want to calculate duration for below file in this format
SID | Date | Starttime |Date |End time
O/p should be like this:
SID | Date | Starttime |Date |Endtime... (4 Replies)
Discussion started by: anupmishra
3. Shell Programming and Scripting
How to get Julian date (Three digit) of a given date (Not current date)? I do not have root privilege - so can not use date -d. Assume that we have three variables year, month and date.
Thx (5 Replies)
Discussion started by: Soham
4. UNIX for Dummies Questions & Answers
I have implemented this command :
tshark -eth0 -T fiels -e frame.time et sip.Request-Line -z sip,stat > test2.txt
the result of this command : test.txt:
Aug 27, 2013 23:06:47.334270000 INVITE
Aug 27, 2013 23:06:47.335045000 SIP/2.0 401 Unauthorized
Aug 27, 2013... (1 Reply)
Discussion started by: Amouna
5. Shell Programming and Scripting
Oracle Enterprise Linux
We want to track how long a process takes to complete its execution. This is what we want in the schell script
Before the process is started , get the time with date, hours and minutes
execute the process
After the process has ended , get the time with date,... (5 Replies)
Discussion started by: omega3
6. Shell Programming and Scripting
Hi - I am looking for a little help to read in 2 date fields from a file in format:
yyyymmddhhmmss.tenths of a second
So i want to:
1. Read in the 1st date from the file
2. Read in the second date from the file
3. Calculate the difference in minutes (or seconds)
4. ... (5 Replies)
Discussion started by: Newbie2012
7. Shell Programming and Scripting
Hello, i need calculate the day before in this format aammdd, for example if i have 110701 i need a script to return the value 110630.
I only know what with this comand "date %y%m%d" return the date system.
Sorry for my english, it is very bad, i know...
Thank you very much
Grettings! (1 Reply)
Discussion started by: Xedrox
Give your an integer (e.g. 0x0076f676) representing the number of minutes elapsed since January 1, 1996.
How to calculate the current date which format should be "year-month-day-hour-minutes" ? (3 Replies)
Discussion started by: qcmao
9. Shell Programming and Scripting
I want to calculate the date of next satureday of current date using shell script.
Suppose, today is 27-feb-08
I want to get the date of next satureday, which means 01-mar-08, in the formate '' YYMMDD ".
I do this in ksh..
Please tell me any type of command which help me out.
Thanks in... (3 Replies)
Discussion started by: rinku
10. Shell Programming and Scripting
All I need to do is
calculate the system date to my desire date.
My case is
everyday in my system , it will receive ftp file from another unix server.
If I issued 'date' for today it will return this :
-bash-3.00$ date +%Y%m%d
but the ftp file that receive everyday... (1 Reply)
Discussion started by: guitaroa47