Search Results

Search: Posts Made By: ppucci
18,438
Posted By ppucci
I am almost achieving my desired output, however...
I am almost achieving my desired output, however I am getting something funny.

Consider

alpha 100 this is a comment
bravo 200 this is another comment

When using

awk '{print $2,sub...
18,438
Posted By ppucci
It looks better, sorry I maybe did not express...
It looks better, sorry I maybe did not express correctly, I still need the columns to show on the same row, I just want awk to treat from $3 forward (for as many delimiters it may have on that line,...
18,438
Posted By ppucci
That is nice... would it be a trouble for you to...
That is nice... would it be a trouble for you to explain to me what each part does? (sorry, I am really a newcomer)
18,438
Posted By ppucci
nice, but I was looking for a way to do it in...
nice, but I was looking for a way to do it in awk... any ideas?
18,438
Posted By ppucci
awk - treating remaining columns as one
Hi all,

For no particular reason, I would like to use awk on a file that contains multiple columns, but let's say only columns 1 and 2 have some text values, and the remainder of the line contains...
Forum: IP Networking 08-27-2010
2,427
Posted By ppucci
using multiple iperf instances for performance testing
Hello all!

I have the need to performance-test a MPLS switch, I was thinking of using iperf to accomplish the task.

I had in mind using a linux box with a Gigabit interface connected to a L2...
23,406
Posted By ppucci
using multiple iperf instances for performance testing
Hello all!

I have the need to performance-test a MPLS switch, I was thinking of using iperf to accomplish the task.

I had in mind using a linux box with a Gigabit interface connected to a L2...
2,526
Posted By ppucci
Nevermind... I thought it would break everything,...
Nevermind... I thought it would break everything, but it falls right back where I want to... tks!
2,526
Posted By ppucci
Stop a program without breaking the script?
Hello there!

I am creating a script, that among other functions will run iperf (network stress tool) either on server or client mode.

The thing is that it will run forever if the user does not...
20,599
Posted By ppucci
thank you all, it did work great!!!
thank you all, it did work great!!!
20,599
Posted By ppucci
And how can I set it to their login shell?? I...
And how can I set it to their login shell?? I mean, I can script but I understand little of the *NIX (Debian, for this matter) structure...

Appreciate you help!
20,599
Posted By ppucci
Okay, I'll try some of this tomorrow but it...
Okay, I'll try some of this tomorrow but it sounds like what I am looking for. I have already on my script the exit commands to logout, but should the user break the script I still want him to be...
20,599
Posted By ppucci
Yep, I mean, I have my script done on bash for...
Yep, I mean, I have my script done on bash for the commands, but what I need help is how I hook it to the user login, and make sure that when the script exits, the user gets logged out...
20,599
Posted By ppucci
Limiting a user to a script upon login, nothing else.
Hi there,

I have a Debian 5.0 server that my company uses for deployment testing. This server needs to be accessed by NOC people that have no NIX knowledge whatsoever.

I am creating a bash...
24,553
Posted By ppucci
comprehensive expect examples
Can anybody point me to some useful, comprehensive expect examples? I am trying to build a bash script with some telnet interactions.

Appreciate any help.

Persio
23,156
Posted By ppucci
you may want to lookup "mpack" too... that is...
you may want to lookup "mpack" too... that is what I use for scripted emailing with attached files.
6,599
Posted By ppucci
BASH (or else) scripting for Telnet
Hi everybody,

I am thinking on writing a shell script to telnet to Cisco routers, and I am looking for help. I have researched some and could not find much on the topic, or at least much of help...
3,212
Posted By ppucci
Thank you for your idea! Really it is not...
Thank you for your idea! Really it is not necessary to be a one-liner... just need something simple.

So far I was trying something like this:

while read field1; do
B2='cat fileB | nawk -v...
3,212
Posted By ppucci
building output file from multiple input files
Hi there,

I am trying to figure out a way to combine multiple sources with different data on a single file, and I am trying to find the best way to do it.

I have multiple files, let's say A,...
16,714
Posted By ppucci
got nawk, works like a charm! thank you! :D ...
got nawk, works like a charm! thank you! :D

by the way... not homework... trying to automate some work stuff :)
16,714
Posted By ppucci
ok... supose the file has multiple lines... will...
ok... supose the file has multiple lines... will that work?

even with one line I am trying here and I get error:

home:~> cat 10.3.2.10_VLAN36_MACS
248.88.41.141 00 0F F8 58 29 8D
home:~>...
16,714
Posted By ppucci
sed replace multiple occurrences on the same line, but not all
Hi there!

I am really enjoying working with sed. I am trying to come up with a sed command to replace some occurrences (not all) in the same line, for instance:

I have a command which the...
20,956
Posted By ppucci
I fixed the quotes... I actually rebuilt the csv...
I fixed the quotes... I actually rebuilt the csv file from the Excel original. No more quotes now. However, I still get the ESS. I was careful to open the csv file at Notepad++ (Windows application)...
20,956
Posted By ppucci
Ok, I'll give it a try without "-e" and "/g"......
Ok, I'll give it a try without "-e" and "/g"... and for the duplicate replacements, already scraped them :)

---------- Post updated at 01:51 PM ---------- Previous update was at 01:43 PM...
20,956
Posted By ppucci
Hey, thank you for that... I did not see it was...
Hey, thank you for that... I did not see it was duplicated... it did not keep the script from running, it just addded unecessary steps to it.. :)



Well, I am new to sed, but from what I read...
Showing results 1 to 25 of 30

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