{"id":18468898,"url":"https://github.com/mubaris/yes","last_synced_at":"2025-04-08T10:32:33.337Z","repository":{"id":17723656,"uuid":"82545807","full_name":"mubaris/yes","owner":"mubaris","description":"yes - Implementation of simple and dangerous yes command in various languages. :+1:","archived":false,"fork":false,"pushed_at":"2021-04-12T17:51:44.000Z","size":101,"stargazers_count":86,"open_issues_count":23,"forks_count":43,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-23T11:04:16.832Z","etag":null,"topics":["command-line","linux","multiple-languages","terminal","yes"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mubaris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-20T10:29:24.000Z","updated_at":"2025-02-17T07:39:51.000Z","dependencies_parsed_at":"2022-08-07T09:00:12.626Z","dependency_job_id":null,"html_url":"https://github.com/mubaris/yes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mubaris%2Fyes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mubaris%2Fyes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mubaris%2Fyes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mubaris%2Fyes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mubaris","download_url":"https://codeload.github.com/mubaris/yes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247824154,"owners_count":21002217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line","linux","multiple-languages","terminal","yes"],"created_at":"2024-11-06T10:08:26.910Z","updated_at":"2025-04-08T10:32:30.846Z","avatar_url":"https://github.com/mubaris.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yes\n\n## About yes\n\nThe `yes` command is used to output __y__, or whatever word you choose, forever. :repeat:\n\n![yes](https://media.giphy.com/media/L9kwXOK00OJGM/giphy.gif)\n\n## Description\n\nThe `yes` command outputs the same string, STRING, in a constant stream. If STRING is not specified, the word it repeats is __y__. :repeat:\n\n`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.\n\n`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.\n\n## yes Syntax\n\n```\nyes [STRING]...\n```\n\n## yes Output\n\n```\ny\ny\ny\ny\ny\ny\n.\n.\n.\n```\n\n## Dangerous yes\n\n### Redirecting output to a file\n\n`yes` can be dangerous also. If you redirect the output stream of `yes` to a file, it will eat up your storage space. :bomb:\n\n```\n$ yes \u003e\u003e yes.txt\n^Z\n\n$ du -h yes.txt\n1007M yes.txt\n```\n\nI ran the command only for __10 Seconds__. And It consumed almost 1 GB. :boom:\n\n### Nested yes\n\n`yes` takes an argument and prints it infinitely. What if you take `yes` as argument itself. :bomb:\n\n```\n$ yes `yes`\n```\n\nYou tell me what happens. :stuck_out_tongue_winking_eye:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmubaris%2Fyes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmubaris%2Fyes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmubaris%2Fyes/lists"}