% cat /proc/self/cmdline <(echo $SHELL) | tr '\0' ' ' cat /proc/self/cmdline /proc/self/fd/11 /bin/zsh
It won't work in dash though, and you should not use this in a shell that targets POSIX.
It won't work in dash though, and you should not use this in a shell that targets POSIX.