Use the shell’s appending output redirection (>>) rather than curl’s --output option.
curl http://192.99.8.170:8098/stream >> test.pls
Use the shell’s appending output redirection (>>) rather than curl’s --output option.
curl http://192.99.8.170:8098/stream >> test.pls