LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 15
Unhappy snmpwalk


hello..
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, 03:45 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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

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

Original Poster
Rep: Reputation: 15
Wink

thanks a lot..
it works great..
 
  


Reply


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 12:53 AM
How to Get The 'transmission (10)' Value using snmpwalk fiem Linux - Networking 0 08-08-2007 10:26 AM
snmpwalk wattie29 Linux - Software 0 03-06-2006 12:12 PM
snmpwalk st3reo Linux - Networking 3 11-19-2004 07:56 AM
snmpwalk in redhat 9.0 rawson_fang Linux - Software 0 08-07-2003 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:19 PM.

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