9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
Can anyone help me how do perform below requirement in unix.
Step1:we will receive multiple files weekly with same name(as below) in a folder(In folder we will have other files also def.dat,ghf.dat)
Filenames:
1) abc_20171204_052389.dat
2)abc_20171204_052428.dat
DON'T modify... (23 Replies)
Discussion started by: sunnykamal59
23 Replies
2. Shell Programming and Scripting
Hi,
I am new to awk/unix and am trying to put together an awk script to perform an action similar to vlookup between the two csv files.
Here are the contents of the two files:
File 1:
Date,ParentID,Number,Area,Volume,Dimensions
2014-01-01,ABC,247,83430.33,857.84,8110.76... (9 Replies)
Discussion started by: Prit Siv
9 Replies
3. Shell Programming and Scripting
Hi All,
I am using an awk script as below:
awk -F'|' 'BEGIN{OFS="|";} { if ($1==$3 && $3==$7 && $7==$13 && $2==$6 && $6==$11 && $15-$14+1==$11) print $0"|""TRUE"; else print $0"|""FALSE"; }' tempfile.txt
In above script, all conditions are being checked except the one which is... (4 Replies)
Discussion started by: angshuman
4 Replies
4. Shell Programming and Scripting
Guys,
I have a requirement as below.
consider,if i use df command, its getting the below output.
file system kbytes used avail %used Mounted on
/dev/sample/ 45765 40000 5765 50% /
/dev/filesys/ 30000 20000 1000 80% /u
....
....
Now i wanted to cut the /u... (11 Replies)
Discussion started by: AraR87
11 Replies
5. Shell Programming and Scripting
I'm new to scripts, i wrote the below script to capture the percentage of FreeMemory available in Linux box. Output of UsedfreeMemory is displayed as '0'.
I'm expecting the output like 0.89 (or) .89 --- ( 0.89 perferable)
Anyone can help me on this pls.
... (3 Replies)
Discussion started by: murali1687
3 Replies
6. UNIX for Dummies Questions & Answers
I really know barely anything about awk and the like but I have a bit of code I need help with.
The bash script is meant to get my usage numbers from my ISP and it does so perfectly. However I want to know how much I can use each day. So to do this I would need to divide its output by the number... (5 Replies)
Discussion started by: Light_
5 Replies
7. High Performance Computing
I`m having a cluster with Rocks 5.2 distribution and I want to solve differential equations and I`m interested to know if are some programs already developed to do this. (3 Replies)
Discussion started by: rapo
3 Replies
8. UNIX for Dummies Questions & Answers
how can perfrom zip or unzip for bulk of files at unix console
can anybody tell that command (2 Replies)
Discussion started by: lmraochodisetti
2 Replies
9. Shell Programming and Scripting
I am trying to perform a simple if/else check.
if ; then
mkdir /wdnet/oracletest
else
mkdir $CON_DIR
fi
I guess I don't understand the unix basics about comparisons.
My scripts always executes the if, even though my CON_DIR variable is not blank.
What am I doing... (5 Replies)
Discussion started by: artfuldodger
5 Replies