yes: add French translation, add common usage example (#4624)

beep
Simon Landry 2020-10-15 09:37:04 -04:00 committed by GitHub
parent 6264983e69
commit 709765c323
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

16
pages.fr/linux/yes.md Normal file
View File

@ -0,0 +1,16 @@
# yes
> Envoie un message à répétition en sortie console.
> Cette commande est souvent utilisée pour éviter de devoir accepter des opérations successives (par exemple des installations via la commande `apt-get`).
- Envoyer « message » à répétition :
`yes {{message}}`
- Envoyer « y » à répétition :
`yes`
- Répondre « oui » à toutes les questions posées par la commande `apt-get` :
`yes | sudo apt-get install {{program}}`

View File

@ -1,6 +1,7 @@
# yes
> Output something repeatedly.
> This command is commonly used to answer yes to every prompt by install commands (such as apt-get).
- Repeatedly output "message":
@ -9,3 +10,7 @@
- Repeatedly output "y":
`yes`
- Accept everything prompted by the `apt-get` command:
`yes | sudo apt-get install {{program}}`