$ whereis -b ed | cut -d' ' -f 2 | xargs ls -l -rwxr-xr-x 1 root root 55504 Feb 22 2020 /usr/bin/ed
(To explain and thus ruin the joke, https://www.gnu.org/fun/jokes/ed-msg.html)
while :; do echo ?; done
ls -l $(which ed)