10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
i want to create this list:
2a05:b80:0:235::9f/1159
2a05:b80:0:235::a0/1160
2a05:b80:0:235::a1/1161
2a05:b80:0:235::a2/1162
2a05:b80:0:235::a3/1163
so write this shell as well:
#Global VAR
STR=159
END=200
#INI NET IPV6 PART
SUM1=`expr $END - $STR`
for ((i=STR;i<=END;++i)); do... (6 Replies)
Discussion started by: nimafire
6 Replies
2. Shell Programming and Scripting
I have created one file that contains all the necessary info in it to create a download link. In each of the lines /results/analysis/output/Home/Auto_user_S5-00580-6-Medexome_67_032/plugin_out/FileExporter_out.67... (8 Replies)
Discussion started by: cmccabe
8 Replies
3. Shell Programming and Scripting
I have rrd file which is have the gaps and I want to fill it out with some value , I've got 10 NaN record and I try to populate data from 10 records be for NaN to change instead of NaN :(
<!-- 2016-05-19 14:10:00 CST / 1463638200 -->... (11 Replies)
Discussion started by: boobytrap
11 Replies
4. Shell Programming and Scripting
Hi everybody,
I have two XML files.
I am working on a script that could copy and paste the contents of the first xml file to the desired location in the second xml file.
Here is my first XML file.
This is the second XML file.
Finaly, I wnat to obtain something like that :
... (2 Replies)
Discussion started by: lsaas
2 Replies
5. Shell Programming and Scripting
Hi i need a favour
i have a file which has some trillions of records. The file is like this
11111000000000192831840914000000000000000000000000000
45789899090000000000000000011111111111111111111111111
I want to cut specific postions in each line like cut1-3 and assisgn it to a variable and... (5 Replies)
Discussion started by: richa2.m
5 Replies
6. Shell Programming and Scripting
Hello,
I am trying to solve for a couple of hours now the following problem:
I have n files and would like to add the third column of each file to a new file:
temp1.txt
1 2 3
1 2 3
1 2 3
temp2.txt
1 2 4
1 2 4
1 2 4
1 2 4
temp3.txt (2 Replies)
Discussion started by: creamcheese
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Let's say that I have a file called table, I know that if I need to see a the second column for exampls I use:
awk ' {print $2}' table.txt
Is there anyway to use awk to actually cut a column and put it somewhere else in the table?:confused: (8 Replies)
Discussion started by: cosmologist
8 Replies
8. Shell Programming and Scripting
Hi,
I'm trying to plot some data using the awk to find and parse the data and then use gnuplot to plot it up. I'd like to plot one or more range cells (let the user decide!). I've been able to write up the code such that I can plot one range cell per plot, but I just can't see how to get more... (1 Reply)
Discussion started by: dpath2o
1 Replies
9. Shell Programming and Scripting
Hi,
I am trying to create a report using the following syntax:
#!/bin/awk -f
#script name: users_report
BEGIN { FS=":" ; OFS="\t" ; print "User\tGID\tUser Name\tHome Dir\t"
{ print $1 , $3 , $5 , $6 }
END { print "\n End of Report \n" }
$> user_report /etc/passwd
the output of... (5 Replies)
Discussion started by: ghazi
5 Replies
10. UNIX for Dummies Questions & Answers
i have a file and i need the text to line up
currently the file looks like so
job scheduled complete
12 12:00 wendsday
13 1:00 wednsday
its a text file but not sure how to manipulate the file for it to line up (3 Replies)
Discussion started by: leprichaun
3 Replies