Linux Kernel Development
  • Toolchain and development Process
    • Preparing System for Kernel Development
    • Development Process
    • Development Tools
      • Browse and Edit
      • Config and Build
      • Test and Verify
      • Code Analysis
        • Tracing
      • Debug
        • Kernel Panics and oops
      • Code Review and Submit Changes
  • Miscellaneous
    • FAQs
    • temp
    • Career
      • Learning Path for Linux Kernel Development
      • Interview Questions on Linux Kernel
    • Linux Commands
    • Question Needs To Be Answered!
  • Technical Concepts
    • Kernel
Powered by GitBook
On this page
  1. Miscellaneous

Linux Commands

Terminal

Command

Description

find </path> -regex ".*.(jpg|gif|png|jpeg)"

find file with extension

diff -y <(xxd foo1.bin) <(xxd foo2.bin)

xxd is hexdump.-y shows you differences side-by-side (optional).xxd is CLI tool to create a hexdump output of the binary file. Add -W200 to diff for wider output (of 200 characters per line).

colordiff -y <(xxd foo1.bin) <(xxd foo2.bin)

If you've colordiff, it can colorize diff output,

PreviousInterview Questions on Linux KernelNextQuestion Needs To Be Answered!

Last updated 2 years ago