{"id":21045616,"url":"https://github.com/daixinye/shell-playground","last_synced_at":"2026-04-21T20:03:24.132Z","repository":{"id":143923395,"uuid":"126288701","full_name":"daixinye/shell-playground","owner":"daixinye","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-07T12:30:44.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T22:21:21.544Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daixinye.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-22T06:16:19.000Z","updated_at":"2018-12-07T12:30:45.000Z","dependencies_parsed_at":"2023-05-04T14:47:29.564Z","dependency_job_id":null,"html_url":"https://github.com/daixinye/shell-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daixinye/shell-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daixinye%2Fshell-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daixinye%2Fshell-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daixinye%2Fshell-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daixinye%2Fshell-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daixinye","download_url":"https://codeload.github.com/daixinye/shell-playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daixinye%2Fshell-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28103571,"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","status":"online","status_checked_at":"2025-12-28T02:00:05.685Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-19T14:23:23.043Z","updated_at":"2025-12-28T20:16:34.137Z","avatar_url":"https://github.com/daixinye.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shell Playground\n一些 Shell 脚本的基本练习。\n\n## 类型\n- [string](./type/string.sh)\n\n\n## 输入/输出\n- [echo](./IO/hello.sh)\n- [cat heredoc](./IO/heredoc.sh)\n- [read 数字](./IO/read-integer.sh)\n\n## 循环\n- [for 循环参数](./loop/for-param.sh)\n- [c语言风格的for循环](./loop/for-c.sh)\n- [while 打印数字](./loop/while-count.sh)\n- [while 读取文件并打印](./loop/while-read.sh)\n- [找出最长字符串1](./loop/longest-word.sh)\n- [找出最长字符串2](./loop/longest-word-for.sh)\n- [找出最长字符串3](./loop/longest-word-string.sh)\n\n## 分支\n- [case 基本使用](./branch/case-model.sh)\n- [case 菜单](./branch/case-menu.sh)\n- [test 基本使用](./branch/test-file.sh)\n- [test 判断文件类型](./branch/test-file.sh)\n\n## 参数\n- [获取参数](./parameter/posit-param.sh)\n- [shift命令 获取所有参数](./parameter/posit-param-shift.sh)\n- [$* 和 $@](./parameter/posit-param-special.sh)\n\n## debug\n- [全局追踪](./debug/debug.sh)\n- [部分追踪](./debug/debug-partial.sh)\n\n## 其他\n- [让shell脚本可执行](./chmod.sh)\n- [隐藏mac桌面](./hide-desktop.sh)\n- [显示mac桌面](./show-desktop.sh)\n- [英语数字听力练习](./say-number.sh)\n- [打印系统信息](./sys-info-page.sh)\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaixinye%2Fshell-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaixinye%2Fshell-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaixinye%2Fshell-playground/lists"}