1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 04:15:23 +02:00
tldr/pages.ko/common/rbash.md
코드싸이 fd7d9f925b
common/r*: add Korean translation (#14644)
* common/r*: add Korean translation

* Update rtv.md

* Update pages.ko/common/rtv.md

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-11-07 10:35:14 +09:00

798 B

rbash

제한된 Bash 셸로, bash --restricted와 동등합니다. 작업 디렉토리 변경, 명령 출력 리디렉션, 환경 변수 수정 등을 허용하지 않습니다. 히스토리 확장을 위해 histexpand도 참조하세요. 더 많은 정보: https://www.gnu.org/software/bash/manual/html_node/The-Restricted-Shell.

  • 대화형 셸 세션 시작:

rbash

  • 명령을 실행한 후 종료:

rbash -c "{{명령}}"

  • 스크립트 실행:

rbash {{경로/대상/스크립트.sh}}

  • 각 명령을 실행 전에 출력하며 스크립트 실행:

rbash -x {{경로/대상/스크립트.sh}}

  • 스크립트에서 명령을 읽고 첫 번째 오류에서 중지:

rbash -e {{경로/대상/스크립트.sh}}

  • stdin에서 명령을 읽고 실행:

rbash -s