0% found this document useful (0 votes)
7 views1 page

Boot and TC Dump

The document provides an overview of the booting process in Linux, with links to a detailed article and a YouTube video for further understanding. It also explains tcpdump, a command line utility for capturing and analyzing network traffic, detailing its usage, options, and commands for capturing and reading packet data. Tcpdump is particularly useful for troubleshooting network issues and can be run on remote servers without a GUI.

Uploaded by

bharadwajgopi.pv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Boot and TC Dump

The document provides an overview of the booting process in Linux, with links to a detailed article and a YouTube video for further understanding. It also explains tcpdump, a command line utility for capturing and analyzing network traffic, detailing its usage, options, and commands for capturing and reading packet data. Tcpdump is particularly useful for troubleshooting network issues and can be run on remote servers without a GUI.

Uploaded by

bharadwajgopi.pv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Booting Process:

https://www.linuxbuzz.com/step-by-step-linux-rhel-6-7-boot-process-for-beginners/
Go through the youtube link fir understanding booting process.
https://www.youtube.com/watch?v=ZtVpz5VWjAs
=====================================================================
tcpdump:
Tcpdump is a command line utility that allows you to capture and analyze network
traffic going through your system. It is often used to help troubleshoot network
issues, as well as a security tool.
A powerful and versatile tool that includes many options and filters, tcpdump can
be used in a variety of cases. Since it's a command line tool, it is ideal to run
in remote servers or devices for which a GUI is not available, to collect data that
can be analyzed later. It can also be launched in the background or as a scheduled
job using tools like cron.
To get the network packets from a single interface, use
$ tcpdump -i eth0
To write all the captured packets to a file, use the ‘-w’ option,
$ tcpdump -i eth1 -w packets_file
To read an already created, old tcpdump file, use the following command,
$ tcpdump -r packets_file
Capture all packets in any interface by running this command:
$ sudo tcpdump -i any
sudo tcpdump -i any -w webserver.pcap
This command saves the output in a file named webserver.pcap. The .pcap extension
stands for "packet capture" and is the convention for this file format.
Tcpdump creates a file in binary format so you cannot simply open it with a text
editor. To read the contents of the file, execute tcpdump with the -r option:
tcpdump -nn -r webserver.pcap

You might also like