Files
tldr/pages.fr/common/yes.md
2021-03-30 10:41:24 -03:00

18 lines
558 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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`).
> Plus d'informations : <https://www.gnu.org/software/coreutils/manual/html_node/yes-invocation.html>.
- 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}}`