Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-07-2008, 04:41 AM   #1
Registered: Jan 2007
Location: High Castle
Distribution: FC8
Posts: 66

Rep: Reputation: 15
Unhappy snmpwalk

i am running a command snmpwalk -v 1 -c [snmp community] [ipaddress] which will displays some result.
how can i put the displayed result after running the command into a text file?!
Old 08-07-2008, 04:45 AM   #2
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Have you tried the redirector operator to redirect the output to the file?

snmpwalk -v 1 -c [snmp community] [ipaddress] >> /path/to/file.txt
Old 08-07-2008, 04:49 AM   #3
Registered: Jan 2007
Location: High Castle
Distribution: FC8
Posts: 66

Original Poster
Rep: Reputation: 15

thanks a lot..
it works great..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Get The 'transmission (10)' Value using snmpwalk Chiranjib Pal Linux - Server 0 08-14-2007 01:53 AM
How to Get The 'transmission (10)' Value using snmpwalk fiem Linux - Networking 0 08-08-2007 11:26 AM
snmpwalk wattie29 Linux - Software 0 03-06-2006 01:12 PM
snmpwalk st3reo Linux - Networking 3 11-19-2004 08:56 AM
snmpwalk in redhat 9.0 rawson_fang Linux - Software 0 08-07-2003 05:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration