Audacity hasn't command line arguments. And speech recognition software does only convert not recordI'm not sure if there is a command for recording or not.
However if you would like to record audio have a look at Audacity.
Download Audacity Download the free Audacity audio editor for Windows, Mac or Linux from our download partner, FossHub: Download Audacity for Windows, Mac or Linux Audacity is free of charge. No registration or hardware purchase required. 64-Bit Audacity on Windows is only available as a 32www.audacityteam.org
You also might try speech recogintion software for Linux.
From the command line, there's arecord, which is part of alsa and should be already available on your distro/OS. Simply open a terminal and typeI want to record, so long as a person speaks. When the person ends with speaking the command should save the audio.
How is the command for such a thing.
arcord -d 10 -f U8 my_record.mp3
sudo apt-add-repository ppa:audio-recorder/ppa
sudo apt-get update
sudo apt-get install audio recorder