LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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: 33

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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