{"id":37720022,"url":"https://github.com/bamjun/q","last_synced_at":"2026-01-16T13:31:38.424Z","repository":{"id":238338361,"uuid":"796349512","full_name":"bamjun/q","owner":"bamjun","description":"Download Shell Scripts or Helps Using Curl","archived":false,"fork":false,"pushed_at":"2025-12-20T10:21:04.000Z","size":1076,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-22T15:16:38.426Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/bamjun.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-05T17:20:35.000Z","updated_at":"2025-12-20T10:21:08.000Z","dependencies_parsed_at":"2024-05-18T13:45:51.458Z","dependency_job_id":"726de37d-1441-4a04-b0da-92eb4ca91773","html_url":"https://github.com/bamjun/q","commit_stats":null,"previous_names":["bamjun/q"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bamjun/q","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamjun%2Fq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamjun%2Fq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamjun%2Fq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamjun%2Fq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bamjun","download_url":"https://codeload.github.com/bamjun/q/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamjun%2Fq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-16T13:31:37.703Z","updated_at":"2026-01-16T13:31:38.419Z","avatar_url":"https://github.com/bamjun.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e 여러 환경에서 작업할때 기억안나는 명령어를 보거나, \n\u003e 기존 사용하는 쉘스크립트를 다운 받기위한 레포지토리\n\u003e 리눅스 서버나 내가 사용하는 환경이아닌 새로운 환경에서 터미널은 존재하고 curl은 기본적으로 거의 다 설치 되어있어서,\n\u003e curl을 활용해서 자주 사용하는 쉘스크립트를 버전관리하거나 다운 받는다.\n\u003e 리눅스 서버환경에서 명령어가 기억안나는 경우 `curl https://bamjun.github.io/q/` 를 입력하면 만들어 둔 도움말 파일 경로가 나타난다.\n\n![alt text](images/markdown-image-3.png)\n\n# curl 에서 사용하기\n\n```bash\ncurl https://bamjun.github.io/q/\n```\n\n\u003e `-s` curl 실행시 다운로드 로그를 안보이게함\n\u003e `-o` 파일다운로드 옵션 `curl -o [svae file name] [download url]\n\n### 스크립트 바로실행\n\n- `curl -s http://example.com/script.sh`는 지정된 URL에서 스크립트를 다운로드합니다. `-s` 옵션은 silent 모드로 curl의 진행 상황 및 오류 메시지를 숨깁니다.\n- 파이프(`|`)를 사용하여 `curl`로 다운로드한 데이터를 직접 `bash`에 전달하고 실행합니다.\n\n  ```bash\n  curl -s https://bamjun.github.io/q/ | bash\n  ```\n\n  ![alt text](images/markdown-image.png)  \n  \u003cbr\u003e\n  ![alt text](images/markdown-image-1.png)  \n\n\n### up 파일 다운로드받기\n\n- curl -o [저장할 파일명] [다운로드 url]  \n\n  ```bash\n  curl -o up https://bamjun.github.io/q/up\n  ```\n\n\n\n### temp 임시 폴더만들기\n  `/c/projects/temp/Folder_{tody_ymd}` 경로에 임시작업용 폴더만들기.  \n\n  ```bash\n  curl -o temp https://bamjun.github.io/q/up\n  ```\n\n\n\n\n\n  ---\n\n  ---\n\n  ---\n    \n    \n# Windows 작업환경  \n\n\u003e 윈도우 환경 변수에 쉘스크립트를 저장한 경로를 추가하고,\n\u003e 터미널의 어느 경로에서든지 쉘스크립트 실행해서 빠른 작업환경 구축.  \n\u003e 나는 사용자 변수에 쉘스크립트가 있는 폴더 경로를 추가했다.  \n\n![alt text](images/markdown-image-4.png)  \n\n![alt text](images/markdown-image-5.png)  \n\n![alt text](images/markdown-image-6.png)  \n\n![alt text](images/markdown-image-7.png)  \n\n- `git switch [브랜치]` 를 활용해서, 브랜치를 변경할 필요없이, `. s`로 브랜치 변경.  \n\n![alt text](images/markdown-image-8.png)  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamjun%2Fq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbamjun%2Fq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamjun%2Fq/lists"}