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,210 points
1,191 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,320 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
7,461 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,320 points
108 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,150 points
821 views
0 votes
1 answer

How to create a symlink in Linux?

To create a symbolic link, you can ...READ MORE

answered Feb 1, 2019 in Linux Administration by Omkar
• 69,150 points
304 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,320 points
11,894 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,320 points
200 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,320 points
272 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,320 points
176 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,320 points
116 views