All Projects → mubaris → Yes

mubaris / Yes

Licence: mit
yes - Implementation of simple and dangerous yes command in various languages. 👍

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Yes

Clifx
Declarative framework for building command line interfaces
Stars: ✭ 900 (+1150%)
Mutual labels:  terminal, command-line
Google Images Download
Python Script to download hundreds of images from 'Google Images'. It is a ready-to-run code!
Stars: ✭ 7,815 (+10754.17%)
Mutual labels:  terminal, command-line
Tldr
📚 Collaborative cheatsheets for console commands
Stars: ✭ 36,408 (+50466.67%)
Mutual labels:  terminal, command-line
Bat
A cat(1) clone with wings.
Stars: ✭ 30,833 (+42723.61%)
Mutual labels:  terminal, command-line
Crossline
A small, self-contained, zero-config, MIT licensed, cross-platform, readline and libedit replacement.
Stars: ✭ 53 (-26.39%)
Mutual labels:  terminal, command-line
Suplemon
🍋 Console (CLI) text editor with multi cursor support. Suplemon replicates Sublime Text like functionality in the terminal. Try it out, give feedback, fork it!
Stars: ✭ 734 (+919.44%)
Mutual labels:  terminal, command-line
Wonders
🌈 Declarative JavaScript framework to build command-line applications.
Stars: ✭ 34 (-52.78%)
Mutual labels:  terminal, command-line
Sultan
Sultan: Command and Rule over your Shell
Stars: ✭ 625 (+768.06%)
Mutual labels:  terminal, command-line
Lucid
A simple mock-application for programs that work with child processes
Stars: ✭ 45 (-37.5%)
Mutual labels:  terminal, command-line
Ed
A modern UNIX ed (line editor) clone written in Go
Stars: ✭ 44 (-38.89%)
Mutual labels:  terminal, command-line
Rat
Compose shell commands to build interactive terminal applications
Stars: ✭ 1,158 (+1508.33%)
Mutual labels:  terminal, command-line
Fsq
A tool for querying the file system with a SQL-like language.
Stars: ✭ 60 (-16.67%)
Mutual labels:  terminal, command-line
Cheat.sh
the only cheat sheet you need
Stars: ✭ 27,798 (+38508.33%)
Mutual labels:  terminal, command-line
Imgp
📸 High-performance cli batch image resizer and rotator
Stars: ✭ 744 (+933.33%)
Mutual labels:  terminal, command-line
Imagescraper
✂️ High performance, multi-threaded image scraper
Stars: ✭ 630 (+775%)
Mutual labels:  terminal, command-line
Yori
Yori is a CMD replacement shell that supports backquotes, job control, and improves tab completion, file matching, aliases, command history, and more.
Stars: ✭ 948 (+1216.67%)
Mutual labels:  terminal, command-line
Nve
Run any command on specific Node.js versions
Stars: ✭ 531 (+637.5%)
Mutual labels:  terminal, command-line
Googler
🔍 Google from the terminal
Stars: ✭ 5,594 (+7669.44%)
Mutual labels:  terminal, command-line
Notify.uno
Get notified when your command is done
Stars: ✭ 38 (-47.22%)
Mutual labels:  terminal, command-line
Rang
A Minimal, Header only Modern c++ library for terminal goodies 💄✨
Stars: ✭ 1,080 (+1400%)
Mutual labels:  terminal, command-line

yes

About yes

The yes command is used to output y, or whatever word you choose, forever. 🔁

yes

Description

The yes command outputs the same string, STRING, in a constant stream. If STRING is not specified, the word it repeats is y. 🔁

yes dates back to a time before Unix commands included the "force" (-f) option, which for many commands is the same as answering "yes" to all prompts.

yes can be used to do something very similar: if the output of yes is piped to a command, it will effectively answer "yes" to any confirmation prompts.

yes Syntax

yes [STRING]...

yes Output

y
y
y
y
y
y
.
.
.

Dangerous yes

Redirecting output to a file

yes can be dangerous also. If you redirect the output stream of yes to a file, it will eat up your storage space. 💣

$ yes >> yes.txt
^Z

$ du -h yes.txt
1007M yes.txt

I ran the command only for 10 Seconds. And It consumed almost 1 GB. 💥

Nested yes

yes takes an argument and prints it infinitely. What if you take yes as argument itself. 💣

$ yes `yes`

You tell me what happens. 😜

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].