Linux yes Command

In this tutorial we learn how to use yes commmand in Linux. yes command is yes - output a string repeatedly until killed

What is Linux yes Command?

In this tutorial we learn how to use yes command in Linux. yes command is yes - output a string repeatedly until killed

yes Syntax

       yes [STRING]...
       yes OPTION

yes Examples

yes Command Manual / Help

We can use man and info command to see the manual page of yes command.

yes command also have --help option to show list of options.

To open man page for yes command we can use command below. To exit man or info page you can press q.

man yes

To open info page for yes command we can use command below.

info yes

To open help page from yes command we can run command below.

yes --help

Linux yes Command Source Code

You can find yes command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use yes in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.