wget 명령 썸네일형 리스트형 wget 명령어를 사용하여 프록시를 설정하는 방법 wget 명령어를 사용하여 프록시를 설정하는 방법 1. 명령어 옵션으로 설정 wget 명령어에 직접 옵션을 추가하여 프록시를 설정할 수 있습니다. -e 옵션은 환경 변수를 설정하는 역할을 합니다. use_proxy=yes는 프록시 사용을 활성화하고 http_proxy는 HTTP 프록시의 주소를 지정합니다. wget -e use_proxy=yes -e http_proxy=http://proxy.example.com:8080 http://example.com/file.txt sudo wget -e use_proxy=yes -e http_proxy=http://your-proxy-server:your-proxy-port -e https_proxy=http://your-proxy-server:your-proxy.. 더보기 curl/wget으로 스크립트 다운로드 및 실행하기(bash -x) curl/wget으로 스크립트 다운로드 및 실행하기(bash -x)curl과 wget은 원격 서버에 있는 스크립트를 다운로드하거나 즉시 실행할 때 자주 사용되는 CLI 도구입니다.curl로 스크립트 다운로드하기curl -Ssf https://sangchul.kr/scripte/webconfsync.sh -o /tmp/webconfsync.sh옵션 설정-S 오류 발생 시 에러 메시지 출력-s 진행 상태(progress) 출력 생략-f HTTP 오류(4xx, 5xx) 발생 시 실패 처리-o 출력 파일 지정curl로 스크립트 다운로드 후 즉시 실행하기curl -Ssf https://sangchul.kr/scripte/webconfsync.sh | bash -x동작 방식curl이 스크립트 내용을 표준 출력(st.. 더보기 이전 1 다음