Search Results

Search: Posts Made By: nistleloy
1,569
Posted By nistleloy
Edit field count result
Hi all,

I'm trying to count the fields in a file and I'm not getting back the desired result. I was wondering if anyone can help.

This is the code:

#!/bin/bash

a=$(awk '{print NF}'...
1,598
Posted By nistleloy
Thanks for your response. I got it set up...
Thanks for your response.

I got it set up fine,

nistleloy.
4,124
Posted By nistleloy
Thanks for your responses - that's help...
Thanks for your responses - that's help immensely.

/nistleloy
4,292
Posted By nistleloy
Thank for your response, much appreciated. ...
Thank for your response, much appreciated.

/nistleloy
4,292
Posted By nistleloy
Repeating awk command
Hi all,

I have an awk command that needs to be ran multiple times in a script on one file containing lots of fields of data.

The file look like this (the numbers are made up):


1234 ...
4,124
Posted By nistleloy
Formatting a line of data into columns
Hi all,

I'm a little stuck with a data file I've been collecting data in. The file contains one field of data running continuously down the file and I can't work out how to format the data into...
1,598
Posted By nistleloy
Installing LINUX on a separate HD
For the last few installations of Linux I have installed it with XP via a dual boot set up on one HD.

Now I have purchased a 2nd HD and would like to install Linux on the 2nd HD and keep the first...
3,452
Posted By nistleloy
Hi Slick, Apart from the obvious read,...
Hi Slick,

Apart from the obvious read, write, execute for Owner, Group and Other permissions at the beginning of the line there are type indicators.


Type Indicator | Owner | Group | ...
5,516
Posted By nistleloy
After running this script cnt=0 while...
After running this script


cnt=0
while read newval x y z; do
echo $((newval-oldval))
oldval=$newval
((cnt++))
done < dump2 > final

on this file with these...
5,516
Posted By nistleloy
The analysis I'm trying to come out with is to...
The analysis I'm trying to come out with is to determine over a given amount of time when network usage is low. So theoretically over say 10, 30 minute time-slots I can see which time-slot is on...
5,516
Posted By nistleloy
Thanks Lakris. Currently I have my data...
Thanks Lakris.

Currently I have my data collecting running through a function so every time the script is ran another piece of data is collected. The idea is that using chmod the script is ran x...
5,516
Posted By nistleloy
Thank you. That's perfect for my script....
Thank you.

That's perfect for my script. I've been bashing my head for a week over this! I can get on with other things now.

Thanks for all replies

Cheers
5,516
Posted By nistleloy
Great stuff guys, thank you for that. I hate...
Great stuff guys, thank you for that.

I hate to tap your brains again but here goes:

Now that I have just the numbers displayed within the file is there anyway I can call upon the numbers in a...
5,516
Posted By nistleloy
Retrieving random numbers out of a text file
Hi one and all,

I'm working on a Bash script that is designed to calculate how much IP traffic has passed through a port to determine traffic volume over a given amount of time.

I've currently...
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 12:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy