mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 02:49:20 +00:00
Update cheatsheets
This commit is contained in:
29
linux/beep
Normal file
29
linux/beep
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# beep
|
||||
|
||||
> A utility to beep the PC speaker.
|
||||
> More information: <https://github.com/spkr-beep/beep>.
|
||||
|
||||
- Play a beep:
|
||||
|
||||
`beep`
|
||||
|
||||
- Play a beep that repeats:
|
||||
|
||||
`beep -r {{repetitions}}`
|
||||
|
||||
- Play a beep at a specified frequency (Hz) and duration (milliseconds):
|
||||
|
||||
`beep -f {{frequency}} -l {{duration}}`
|
||||
|
||||
- Play each new frequency and duration as a distinct beep:
|
||||
|
||||
`beep -f {{frequency}} -l {{duration}} -n -f {{frequency}} -l {{duration}}`
|
||||
|
||||
- Play the C major scale:
|
||||
|
||||
`beep -f {{262}} -n -f {{294}} -n -f {{330}} -n -f {{349}} -n -f {{392}} -n -f {{440}} -n -f {{494}} -n -f {{523}}`
|
||||
Reference in New Issue
Block a user