10 More Discussions You Might Find Interesting
1. Linux
Hi,
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 Replies
2. 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
5 Replies
3. 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
1 Replies
4. Shell Programming and Scripting
Hi,
I have a large data frame as shown below, where data is separated into years.
10 May 2011 Created: 10 May 11 15:05 GMT Scale: SIO-2005 and others
GC-MD, Cape Grim, Tasmania, Lat.: 40.68S, Lon.: 144.69E, Alt: 94m above sea level
You can use the following format in Fortran to read data... (4 Replies)
Discussion started by: gd9629
4 Replies
5. Shell Programming and Scripting
Hi Guys,
Please somebody give me a hand to show the Month & Year in assigning to a variable and with format "MMMYY" (i.e. Jul11). See below preferred output.
I tried using this but it is giving me the current month...
date = "`date +%b%y`"
Aug11
DESIRED OUTPUT:
Jul11
... (3 Replies)
Discussion started by: pinpe
3 Replies
6. Shell Programming and Scripting
Hi everyone, just some simple question...
i've been using a awk script to calculate my data...
i have 3 files:
file a1.txt:
2
3
4
5
3
4
file a2.txt:
4
5
6
7
8 (1 Reply)
Discussion started by: yat
1 Replies
7. Shell Programming and Scripting
Hi,
I have two time series data (below) merged into a file.
t1 and t2 are in unit of second
I want to calculate the average of V1 every second and count how many times "1" in V2 is occur within a second
Input File:
t1 V1 t2 V2
10.000000... (5 Replies)
Discussion started by: nica
5 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I'm using ls -laR to print out a list of file and folders. I want to print only the permission, file size and file name. Also, excluding the '.' and '..'.
result from ls -laR:
total 6
drwxr-xr-x 8 user staff 512 Nov 28 16:17 .
drwxr-x--- 16 user staff 1024... (3 Replies)
Discussion started by: minifish
3 Replies
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
3 Replies
10. Shell Programming and Scripting
HI all,
i am a junior learner, can u teach me how to show yesterday time with unix command? thanks!
Cloud (1 Reply)
Discussion started by: wind_n_cloud
1 Replies