> For the complete documentation index, see [llms.txt](https://prasad-udawant.gitbook.io/linux-kernel-development/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prasad-udawant.gitbook.io/linux-kernel-development/miscellaneous/linux-commands.md).

# Linux Commands

## Terminal

<table data-header-hidden><thead><tr><th></th><th width="365"></th></tr></thead><tbody><tr><td><strong>Command</strong></td><td><strong>Description</strong></td></tr><tr><td>find &#x3C;/path> -regex ".*.(jpg|gif|png|jpeg)"</td><td>find file with extension</td></tr><tr><td>diff -y &#x3C;(xxd foo1.bin) &#x3C;(xxd foo2.bin)</td><td>xxd is hexdump.<code>-y</code> shows you differences side-by-side (optional).<code>xxd</code> is CLI tool to create a hexdump output of the binary file. Add <code>-W200</code> to <code>diff</code> for wider output (of 200 characters per line).</td></tr><tr><td>colordiff -y &#x3C;(xxd foo1.bin) &#x3C;(xxd foo2.bin)</td><td>If you've <code>colordiff</code>, it can colorize <code>diff</code> output,</td></tr></tbody></table>
