7 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am working on a script to get the final total size and so far have the following and wondering if this can be improved.
# Compare the desired size of each lvm to the standard size. If it is desired is larger than calculate the difference and keep that value as the amount to add to that LVM. ... (5 Replies)
Discussion started by: user3528
5 Replies
2. What is on Your Mind?
This came to my attention very recently...
I have put it here as a fun item not related to UNIX in any way...
Chudnovsky algorithm - Wikipedia
WOW!
And a great, light hearted 16 minute video about it:
Calculating π by hand: the Chudnovsky algorithm - YouTube
Enjoy... (3 Replies)
Discussion started by: wisecracker
3 Replies
3. Shell Programming and Scripting
Hi All,
I want to send an email if the time difference from previous mail sent is more than or equal to 30 mins.
I have written below code and it's working fine.
In this script I am storing previous mail sent time in txt file.
Instead of storing in txt file how to store in a variable.... (8 Replies)
Discussion started by: nalu
8 Replies
4. UNIX for Dummies Questions & Answers
I don't the following why ?:confused:
$ awk 'BEGIN{printf "%.40f\n",(0.33*3)}'
0.9899999999999999911182158029987476766109
$ awk 'BEGIN{printf "%.4f\n",(0.33*3)}'
0.9900 (0 Replies)
Discussion started by: saloman
0 Replies
5. Shell Programming and Scripting
Hi,
I'm trying to create an XML sitemap of our dynamic ecommerce sites SEO Friendly URLs and am trying to create the initial page listing.
I have a CSV file that looks like the following and need duplicate the lines based on a value which needs calculating.
... (2 Replies)
Discussion started by: jamesfx
2 Replies
6. Shell Programming and Scripting
Hi,
My text file looks like this...
I am not sure if it is tab separated or space separated.
SHANTNU 101 12:40:00 AM 04:53:00 AM 219:40:00 04:23:00 AM 10 12:01:00 AM 296:18 1:55
test 342 12:53:00 AM 01:09:00 PM 144:43:00 07:44:00 AM 47 12:05:00 AM... (7 Replies)
Discussion started by: shantanuo
7 Replies
7. UNIX for Dummies Questions & Answers
I need to add an average field to a file. I can create it in an on-screen report and it does what I need using the awk command but I can't get it to create a new file with the additional field. Here's what I'm working with:
file layout: id:lastname:firstname:grade1:grade2:grade3:grade4
I... (1 Reply)
Discussion started by: atchleykl
1 Replies