Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: pls help

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    pls help

    My Network id is

    I want just first three bytes with . also ( )

    can u suggest me reg. expression for this. pls

    waiting for reply

  2. #2
    Linux Newbie PureGrain's Avatar
    Join Date
    Nov 2006
    Mt. Washington, Kentucky
    Can you be a bit more descriptive about what you are trying too achieve?
    LINUX - "The other white meat.."
    Registered Linux User #439112

  3. #3
    My script input is (or any network address)

    Output expected 192.168.23. (First three bytes only)

    (I/P) => script => 192.168.23. (O/P)

    waiting for your eply

  4. $spacer_open
  5. #4
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    The Netherlands
    Add this to your script processing the raw IP entry:
    cut -d. -f-3
    Can't tell an OS by it's GUI

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts