#!/bin/bash
echo "Digite o IP"
read ip
iod= snmpwalk -v2c -c public "$ip":161 .1.3.6.1.2.1.1.5
echo "$iod"
OUTPUT
iso.3.6.1.2.1.1.5.0 = STRING: "Name"
I want just print the "name", I'm kinda new on bash scripting. I apreciate an hand. Thakyou.