amitmah amitmah - 4 months ago 18
Linux Question

Decompile Linux shell commands

This question is reverse of Linux to define Custom Shell Command?

I know we can read the documentation about most of the commands using man/info/help/?.
Is there any way to "decompile" any shell command and know how it executes.


Call it with strace to see how it interacts with the kernel. If you really feel like reading assembly, there's objdump -d.