{"id":15905096,"url":"https://github.com/huangcongqing/shell","last_synced_at":"2025-04-02T20:44:44.855Z","repository":{"id":107569653,"uuid":"199232703","full_name":"HuangCongQing/shell","owner":"HuangCongQing","description":"shell命令","archived":false,"fork":false,"pushed_at":"2022-09-18T06:40:56.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-13T13:09:27.900Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HuangCongQing.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-28T02:17:41.000Z","updated_at":"2022-09-17T10:08:39.000Z","dependencies_parsed_at":"2023-07-31T21:01:31.653Z","dependency_job_id":null,"html_url":"https://github.com/HuangCongQing/shell","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/HuangCongQing%2Fshell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuangCongQing%2Fshell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuangCongQing%2Fshell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuangCongQing%2Fshell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HuangCongQing","download_url":"https://codeload.github.com/HuangCongQing/shell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246892777,"owners_count":20850845,"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-10-06T13:00:38.526Z","updated_at":"2025-04-02T20:44:44.833Z","avatar_url":"https://github.com/HuangCongQing.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n * @Description: \n * @Author: HCQ\n * @Company(School): UCAS\n * @Date: 2020-10-07 17:18:11\n * @LastEditors: Please set LastEditors\n * @LastEditTime: 2022-09-17 18:18:34\n--\u003e\n# shell\nshell命令\n\n\n* Personal Notes:https://www.yuque.com/huangzhongqing/lang/sytx6t\n\n\n\n## 学习小结\n\n1. [01.sh](01.sh)\n1. [02变量.sh](02变量.sh)\n1. [03传递参数.sh](03传递参数.sh)\n1. [04数组.sh](04数组.sh)\n1. [05运算符.sh](05运算符.sh)\n1. [06echo.sh](06echo.sh)\n1. [07printf.sh](07printf.sh)\n1. [08test判断文件目录存在.sh](08test判断文件目录存在.sh)\n1. [09流程控制.sh](09流程控制.sh)\n    * [09-1while.sh](09-1while.sh)\n    * [09-2if案例演练.sh](09-2if案例演练.sh)\n1. [10函数.sh](10函数.sh)\n1. [11输入输出重定向.sh](11输入输出重定向.sh)\n1. [12文件包含.sh](12文件包含.sh)\n1. [13path.sh](13path.sh)\n\n\n\n\n\n## 小功能实现(task/)\n\n1. [01判断文件目录存在](task/01判断文件目录存在)\n\n\n\n\n\n\n### CRLF和 LF的区别\n\n* CRLF-\u003eWindows-style：Carriage Return \u0026 Linefeed，\\r\\n，表示回车并换行\n* CR-\u003eMac Style：Carriage Return，对应ASCII中转义字符\\r，表示回车\n* LF-\u003eUnix Style：Linefeed，对应ASCII中转义字符\\n，表示换行\n\nCRLF表示句尾使用回车换行两个字符(即我们常在Windows编程时使用”\\r\\n”换行)\nLF表示表示句尾，只使用换行.\n**Windows操作系统采用两个字符来进行换行，即CRLF；Unix/Linux/Mac OS X操作系统采用单个字符LF来进行换行；另外，MacIntosh操作系统（即早期的Mac操作系统）采用单个字符CR来进行换行。**\n\n* [*CRLF和 LF的区别*及转换 (整理)](https://blog.csdn.net/lizhongyu0922/article/details/84284286)\n* [*CRLF*、CR、*LF*详解 ](https://www.jianshu.com/p/b03ad01acd69)\n\n## License\n\nCopyright (c) [双愚](https://github.com/HuangCongQing). All rights reserved.\n\nLicensed under the [MIT](./LICENSE) License.\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuangcongqing%2Fshell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuangcongqing%2Fshell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuangcongqing%2Fshell/lists"}