LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-02-2013, 11:01 PM   #1
lex07123
LQ Newbie
 
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
how to print tcpdump results to text file


how do I us TCPDUMP
 
Old 02-03-2013, 01:50 AM   #2
rrije
Member
 
Registered: Jul 2010
Distribution: openSUSE 11.4
Posts: 32

Rep: Reputation: Disabled
Use the -w key
Quote:
tcpdump -w /path/to/file
or pipe it through the tee command if you want both to read the output and write it into a file
Quote:
tcpdump | tee /path/to/file
 
  


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
grep a text in files and print the file name who don't contain such text whossa Linux - Newbie 5 04-13-2012 07:49 AM
how to print part of text of a text file in bold and color using shellscript swapna sree Linux - Newbie 25 07-12-2011 11:19 AM
Print some results in a text file using script in linux viriimind Linux - Newbie 3 02-28-2011 12:00 PM
[SOLVED] Output to a text file, the results of compound command Herbivore Linux - General 5 07-28-2010 10:38 AM
analyzer for tcpdump TEXT file...? westies870 Linux - Software 5 06-23-2008 08:23 AM


All times are GMT -5. The time now is 06:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration