Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. 9anth3r

    infinite array ?

    Not sure "infinite array" would be the right term but, Is there away to define an array of unspecified size ? Say if i need to store a bunch of int's in an array, but i and the user thats going to enter them doesn't know how many there is going to be. I guess i just don't wanna...
  2. 9anth3r

    pcap ethernet address question

    Ok, hopefully i didn't ask this question in the wrong forum, but if i did im sorry. I went through all of the pcap.h examples at tcpdump.org i also went through the example sniffer.c program, but none of it really explains what i need. How do extract the src and dst mac address of a packet ...
  3. 9anth3r

    weird rh8.0 network problem

    Hey guys, I just installed redhat 8.0 (for the 4th time) on this machine and its having some weird network issues. When i try to browse to certain websites (mozilla.org, macromedia.com etc) the connection times out. But other work fine. If i do a nslookup on those sites it works fine, but if...
  4. 9anth3r

    if x=x or y=y then ?

    What's the bourne syntax for an "or" clause > (didnt know how else to say it). ex. if [ x=6 OR y=4 ]; then etc etc ? Any help would be greatfull
  5. 9anth3r

    Command line arguements in expect

    Just a quick little question, How can i send command line arguemnets to an expect script ex. % ./myescript.exp arg1 arg2 arg3 Any help or links to a how-to's etc etc would be greatly appriciated.
  6. 9anth3r

    grep into a variable in bash

    Thank's guys, Just switched from C++ to shell scripts and haven't had hardly any sleep, just couldn't think today. Thanks Florian
  7. 9anth3r

    grep into a variable in bash

    Got a quick question, Right now im executing the command's ping localhost -c 2 >> backup.tmp grep '100% loss' backup.tmp how do i get the grep output (if there is any) into a variable ? Any tutorials on SH would be much appriciated as would any help. Florian

Part and Inventory Search

Back
Top