The sox utility can do this. To generate a WAV file:
sox -n output.wav synth 600 sine 20-16k
Mind you, this will generate a 100 MB WAV file, since it defaults to a 48 kHz sampling rate. Since you need a maximum frequency of 16 kHz, you could get away with a 32 kHz sampling frequency instead:
sox -r 32k -n output.wav synth 600 sine 20-16k
This file will be ...