mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 16:13:31 +02:00
yes: add French translation, add common usage example (#4624)
This commit is contained in:
parent
6264983e69
commit
709765c323
2 changed files with 21 additions and 0 deletions
16
pages.fr/linux/yes.md
Normal file
16
pages.fr/linux/yes.md
Normal 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}}`
|
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue