beep - beep the pc speaker
$ beep
beep allows the user to beep the PC speaker.
-f frequency
, --beep-tone frequency
: Beep tone (frequency in Hz)-n N
, --duration N
: Duration (N in milliseconds)If the user disabled the usage of PC speaker in the kernel commandline, the program will fail to use the PC speaker.
# Use beep with default tone
$ beep
# Use beep with tone of 1000Hz
$ beep -f 1000
# Use beep with tone of 1000Hz for 1 second
$ beep -f 1000 -n 1000