How to display captured packets in HEX and ASCII in Linux

0 votes

Hi Guys,

I am new to the RedHat Linux system. I want to display the captured data in HEX and ASCII. How can I do that?

Oct 4, 2020 in Linux Administration by akhtar
• 38,240 points
4,092 views

1 answer to this question.

0 votes

Hi@akhtar,

To display the packet value you can use tcpdump command. This command with option -XX captures the data of each packet, including its link level header in HEX and ASCII format.

$ tcpdump -XX -i eth0
answered Oct 4, 2020 by MD
• 95,340 points

Related Questions In Linux Administration

0 votes
1 answer

How to Unblock SSH and FTP Access to Specific IP in Linux?

Firewalls(most of them) can either Reject or ...READ MORE

answered Jul 16, 2019 in Linux Administration by Archana
• 5,640 points
9,196 views
0 votes
1 answer

How to capture only TCP packets in Linux?

Hi@akhtar, You can use tcpdump command for this ...READ MORE

answered Oct 4, 2020 in Linux Administration by MD
• 95,340 points
146 views
0 votes
0 answers

How to create user in linux by providing uid and gid options?

I have 2 linux machines. On one ...READ MORE

Apr 20 in Linux Administration by Edureka
• 9,320 points
14 views
–1 vote
1 answer

How to get octal file permission in linux?

You can use this: stat -c "%a %n" ...READ MORE

answered Jan 3, 2019 in Linux Administration by Omkar
• 69,190 points
973 views
0 votes
1 answer
0 votes
1 answer

What is the difference between ctrl z and ctrl c in command line?

Hi@akhtar, Generally, these two commands are used to ...READ MORE

answered Feb 24, 2020 in Linux Administration by MD
• 95,340 points
18,302 views
0 votes
1 answer

How to create one new partition in my hard disk in Linux?

Hi@akhtar, To create new partition you can follow ...READ MORE

answered Apr 7, 2020 in Linux Administration by MD
• 95,340 points
300 views
0 votes
1 answer

not able to run netstat-tnlp in Linux.

Hi@akhtar, In Linux system netstat-tnlp command comes from ...READ MORE

answered Apr 16, 2020 in Linux Administration by MD
• 95,340 points
343 views
0 votes
1 answer

How to capture Packets from Specific Interface in Linux?

Hi@akhtar, You can use tcpdump command in your ...READ MORE

answered Oct 3, 2020 in Linux Administration by MD
• 95,340 points
291 views
0 votes
1 answer

How to display available interfaces in Linux system?

Hi@akhtar, You can use tcpdump command in your ...READ MORE

answered Oct 4, 2020 in Linux Administration by MD
• 95,340 points
168 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP