{"id":23363877,"url":"https://github.com/rocky114/shell","last_synced_at":"2025-04-07T22:19:35.031Z","repository":{"id":197443301,"uuid":"82465081","full_name":"rocky114/shell","owner":"rocky114","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-07T07:49:49.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-21T13:12:24.205Z","etag":null,"topics":["shell"],"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/rocky114.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}},"created_at":"2017-02-19T14:32:44.000Z","updated_at":"2021-12-23T08:45:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"1eda6e50-b06f-4842-913f-4f0d77a4d585","html_url":"https://github.com/rocky114/shell","commit_stats":null,"previous_names":["rocky114/shell"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocky114%2Fshell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocky114%2Fshell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocky114%2Fshell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocky114%2Fshell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rocky114","download_url":"https://codeload.github.com/rocky114/shell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247737787,"owners_count":20987735,"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":["shell"],"created_at":"2024-12-21T13:12:26.606Z","updated_at":"2025-04-07T22:19:34.984Z","avatar_url":"https://github.com/rocky114.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shell\nsyntax on\n\nsyntax off\n\nset number \n\nset nonumber\n\nset autoindent\n\nset cindent\n\n基本显示\n\necho -e 终端颜色+显示内容+结束后的颜色\n例：\necho -e \"\\e[1;30m Jeson say Hi~\\e[1;0m\"\n\necho -e \"\\e[1;30m\" \"Josen say Hi~\" $(tput sgr0)\n\t\necho -e ## 开启转义输出\n\n\\a 发出警告声\n\\b 删除前一个字符\n\\c 最后不加上换行符号\n\\f 换行但光标仍旧停留在原来的位置\n\\n 换行切光标移至行首\n\\r 光标移至行首，但不换行\n\\t 插入tab\n\\v 与 \\f 相同\n\\\\ 插入\\字符\n\\nnn 插入nnn（八进制）所代表的ASSCII\n\necho -e \"\\e[1;31mThis is red text\\e[0m\" \n## \\e[1;31m 将颜色设置为红色 \\e[0m 将颜色重新置回\n## 颜色码 重置=0，黑色=40，红色=41，绿色=42，黄色=43，蓝色=44，洋红=45，青色=46，白色=47\n## 其他参数：0关闭所有属性、1设置高亮度（加粗）、4下划线、5闪烁，7反显、8消隐\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocky114%2Fshell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocky114%2Fshell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocky114%2Fshell/lists"}