When I first came across the yes
program in *nix I couldn't think of a significant use for it.
How is this program used?
YES is a merit-based scholarship for high school students aged 15-17 to spend one academic year in the United States living with an American host family, attending high school, acquiring leadership skills, and helping educate Americans about their home country and culture.
The Kennedy-Lugar YES program was established by Congress in October 2002 in response to the events of September 11, 2001. Since then, YES has expanded to 37 countries, impacting over 13,000 students.
Online registration and information about the YES program is available at https://afsindonesia.org/yes-program/. Selections are done in 20 Chapters. Only selected finalists will be invited to participate in the National Selection Camp.
Youth Empowerment Services (YES) is the mental health system of care in Idaho for children with serious emotional disturbance (SED) — a term used to identify children under the age of 18 who have both a mental health diagnosis and a functional impairment.
yes
is meant to automate interactive programs that want confirmation before taking action.
yes | rm -ri foo
is roughly equivalent to
rm -rf foo
The difference is that -f
will also proceed in case of failure.
Another one may be quickly adding n lines of the same text to a file:
yes "this is the text I want to add to a file"|head -200>myFile.txt
which creates a file with 200 lines of the same text.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With