Files
linux.softwareshinobi.com/landing/docs/commands/terminal/yes.md
Software Shinobi 611d0816cc
All checks were successful
learn org at code.softwareshinobi.com/linux.softwareshinobi.com/pipeline/head This commit looks good
changed file names and directories
2025-06-19 08:36:13 -04:00

553 B
Raw Blame History

The yes command

The yes command in linux is used to print a continuous output stream of given STRING. If STRING is not mentioned then it prints y. It outputs a string repeatedly unit killed (using something like ctrl + c).

Examples :

  1. Prints hello world infinitely in the terminal until killed :
yes hello world
  1. A more generalized command:
yes [STRING]

Options

It accepts the following options:

  1. --help

    display this help and exit

  2. --version

    output version information and exit