416 links
  • Johndescs's mini-recording
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
  • thumbnail
    networking - How to get my own IP address and save it to a variable in a shell script? - Unix & Linux Stack Exchange

    ifdata, pratique… bon ça répond pas à mon problème (quelle est l'IP de la machine dans tel subnet) mais c'est un petit outil sympa… et dans le man on a :
    AUTHOR
    Benjamin BAYART

    En attendant je vais faire comme ça pour 10.10.10.0/24 (pas bô) :
    ip a s | grep -oP '10.10.10..+(?=/)'

    October 6, 2014 at 17:23:55 GMT+2 - permalink -
    QRCode
    - http://unix.stackexchange.com/questions/8518/how-to-get-my-own-ip-address-and-save-it-to-a-variable-in-a-shell-script/84263#84263
    Linux internet
Links per page: 20 50 100
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation