Provided by: manpages-ko_4.21.0-2_all bug

이름

       rm - 파일 지우기

요약

       rm [옵션]... [파일]...

설명

       This  manual  page  documents  the GNU version of rm.  rm removes each specified file.  By
       default, it does not remove directories.

       If the -I or --interactive=once option is given, and there are more than  three  files  or
       the -r, -R, or --recursive are given, then rm prompts the user for whether to proceed with
       the entire operation.  If the response is not affirmative, the entire command is aborted.

       Otherwise, if a file is unwritable, standard input is a terminal, and the  -f  or  --force
       option  is  not  given,  or the -i or --interactive=always option is given, rm prompts the
       user for whether to remove the file.  If the response is  not  affirmative,  the  file  is
       skipped.

옵션

       파일을 제거(unlink) 합니다.

       -f, --force
              없는 파일과 인자를 무시하고, 묻지 않습니다

       -i     모든 항목을 제거할 때마다 질문

       -I     파일  세개  이상  제거하기 전 또는 하위 연속으로 제거시 질문합니다. 대부분의 실수를
              막아주는 -i 옵션과는 달리 간섭이 덜합니다

       --interactive[=시기]
              시기 값에 따라 질문합니다. 해당 값: never, once (-I), always (-i). 시기 값이 없으면
              항상 질문합니다

       --one-file-system
              계층을  하위 연속으로 삭제할 때, 해당 명령행의 인자와 다른 파일 시스템의 디렉터리는
              건너뜁니다

       --no-preserve-root
              '/' 경로를 특별하게 취급하지 않습니다

       --preserve-root[=all]
              '/' 경로를 제거하지 않습니다 (기본). 'all' 옵션을 주면 개별 장치 자체  상위의  어떤
              명령행 인자든 무시합니다

       -r, -R, --recursive
              하위 디렉터리와 해당 경로의 파일도 제거합니다

       -d, --dir
              빈 디렉터리 제거합니다

       -v, --verbose
              어떤 동작을 끝냈는지 설명합니다

       --help 이 도움말을 표시하고 나갑니다

       --version
              버전 정보를 출력하고 나갑니다

       기본적으로  rm  명령은  디렉터리를  제거하지 않습니다.  디렉터리와 해당 경로의 파일을 함께
       제거하려면 --recursive(-r 또는 -R) 옵션을 활용하십시오.

       '-foo'와 같이 '-' 문자로 시작하는 파일을 제거하려면, 다음과 같이 명령을 사용하십시오:

              rm -- -foo

              rm ./-foo

       참고로 rm 명령으로 파일을 제거했을 경우, 충분한 전문성과  시간을  확보했다면  일부  내용을
       복원할 수도 있습니다.  완전하게 복원할 수 없게끔 하려면 shred(1) 명령 사용을 검토하십시오.

저자

       Paul Rubin, David MacKenzie, Richard M. Stallman, Jim Meyering이(가) 작성함.

버그 보고

       GNU coreutils 온라인 도움말: <https://www.gnu.org/software/coreutils/>
       번역 버그는 <https://translationproject.org/team/ko.html>

저작권

       저작권  ©  2023  Free  Software  Foundation,  Inc.   라이선스  GPLv3+: GNU GPL 버전 3 이상
       <https://gnu.org/licenses/gpl.html>.
       이 프로그램은 자유 소프트웨어입니다: 자유롭게 바꾸고 재배포할 수 있습니다. 법률이 허용하는
       모든 범위내의 보증은 없습니다.

추가 참조

       unlink(1), unlink(2), chattr(1), shred(1)

       완전한 문서 <https://www.gnu.org/software/coreutils/rm>
       또는 로컬 문서: info '(coreutils) rm invocation'

번역

       이  매뉴얼  페이지의  한국어  번역은  다음에  의해  편집되었습니다:  한글 Manpage 프로젝트
       <http://man.kldp.org>

       이 번역은 무료 문서입니다. 저작권 조건에  대해서는  GNU  General  Public  License  버전  3
       ⟨https://www.gnu.org/licenses/gpl-3.0.html⟩ 이상을 읽으십시오. 책임이 없습니다.

       이  매뉴얼  페이지의  번역에서  오류를  발견하면 ⟨translation-team-ko@googlegroups.com⟩ 로
       이메일을 보내주십시오.