If you feel like this example could be improved, you may edit this example here.
Assuming video.mp4 has an audio stream encoded with AAC, the following command will stream-copy that stream to audio.aac. The -c:a copy parameter will instruct ffmpeg to copy the audio stream instead of re-encoding it. The -vn parameter will ignore the video stream of all inputs.