4 ms·
Bash is strange, but it's not that strange $ ping `echo "rm -rf /nosuchdir"` ping: unknown host rm The string being fed to ping is not interpolated or
by anonymous 13y ago
Bash is strange, but it's not that strange
$ ping `echo "rm -rf /nosuchdir"`
ping: unknown host rm
The string being fed to ping is not interpolated or executed after it's returned by the command.
- tptacek 13y agoYes, you are obviously right. There aren't even really any fun arguments you can pass to ping. I jumped the gun here.