Reputation: 915
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.
Upvotes: 3
Views: 3453
Reputation: 60097
Call it with strace
to see how it interacts with the kernel.
If you really feel like reading assembly, there's objdump -d
.
Upvotes: 5