2 ms·
Works in other shells, not just bash % cat /proc/self/cmdline <(echo $SHELL) | tr '\0' ' ' cat /proc/self/cmdline /proc/self/fd/11 /bin/zsh
by jeffbee 6y ago
Works in other shells, not just bash
% cat /proc/self/cmdline <(echo $SHELL) | tr '\0' ' '
cat /proc/self/cmdline /proc/self/fd/11 /bin/zsh
- jraph 6y agoYep! Zsh supports a lot of bashisms :-) It won't work in dash though, and you should not use this in a shell that targets POSIX.