On Fri, 2025-09-05 at 14:51 -0700, Andrii Nakryiko wrote: [...] > > Yes, but looks like it's a separate binary, not a command: > > > > $ strace command -v ls 2>&1 | grep command > > execve("/usr/bin/command", ["command", "-v", "ls"], 0x7ffffeaef7b0 /* 65 vars */) = 0 > > > > (Not that it changes much). > > You nerd sniped me here :) You get that execve("/usr/bin/command") > because strace forces the command to be resolved as binary. If you run > something like execsnoop in background and execute `command -v blah` > you won't see this execve. ¯\_(ツ)_/¯ Interesting, so I should have done this: $ strace bash -c 'command -v ls' 2>&1 | grep command So, it's like 'time' vs '/usr/bin/time' :)