Man page - rm(1)
Packages contas this manual
- timeout(1)
- ls(1)
- uname(1)
- runcon(1)
- nohup(1)
- dir(1)
- hostid(1)
- paste(1)
- sum(1)
- who(1)
- join(1)
- factor(1)
- touch(1)
- chown(1)
- md5sum(1)
- nl(1)
- mkdir(1)
- tac(1)
- false(1)
- stat(1)
- chmod(1)
- sha224sum(1)
- mktemp(1)
- readlink(1)
- seq(1)
- echo(1)
- comm(1)
- tsort(1)
- mkfifo(1)
- unexpand(1)
- cp(1)
- sha256sum(1)
- shred(1)
- tee(1)
- uniq(1)
- expr(1)
- sha384sum(1)
- basenc(1)
- ptx(1)
- fmt(1)
- chcon(1)
- wc(1)
- realpath(1)
- mv(1)
- sha512sum(1)
- yes(1)
- vdir(1)
- printf(1)
- b2sum(1)
- mknod(1)
- tail(1)
- chroot(8)
- tr(1)
- [(1)
- od(1)
- cut(1)
- date(1)
- cat(1)
- du(1)
- pr(1)
- fold(1)
- dirname(1)
- sha1sum(1)
- printenv(1)
- numfmt(1)
- nproc(1)
- chgrp(1)
- sync(1)
- ln(1)
- pwd(1)
- install(1)
- base64(1)
- test(1)
- true(1)
- cksum(1)
- tty(1)
- rmdir(1)
- expand(1)
- link(1)
- df(1)
- stty(1)
- dd(1)
- split(1)
- truncate(1)
- dircolors(1)
- head(1)
- shuf(1)
- id(1)
- basename(1)
- users(1)
- base32(1)
- nice(1)
- sort(1)
- sleep(1)
- unlink(1)
- logname(1)
- whoami(1)
- pathchk(1)
- rm(1)
- csplit(1)
- groups(1)
- stdbuf(1)
- arch(1)
- env(1)
- pinky(1)
apt-get install coreutils
Available languages:
en fr pt_BR es pl vi nb ko nl da cs tr hu sv ja uk id fi ru ro zh_TW sr zh_CN deManual
| RM(1) | 사용자 명령 | RM(1) |
이름
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) 옵션을 활용하십시오.
Any attempt to remove a file whose last file name component is '.' or '..' is rejected with a diagnostic.
'-foo'와 같이 '-' 문자로 시작하는 파일을 제거하려면, 다음과 같이 명령을 사용하십시오:
- rm -- -foo
- rm ./-foo
If you use rm to remove a file, it might be possible to recover some of its contents, given sufficient expertise and/or time. For greater assurance that the contents are unrecoverable, consider using 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>
추가 참조
unlink(1), unlink(2), chattr(1), shred(1)
완전한 문서
<https://www.gnu.org/software/coreutils/rm>
또는 로컬 문서: info '(coreutils) rm
invocation'
Packaged by Debian (9.7-2)
Copyright © 2025 Free Software Foundation, Inc.
라이선스 GPLv3+: GNU GPL 버전 3
이상 <https://gnu.org/licenses/gpl.html>.
이 프로그램은 자유
소프트웨어입니다:
자유롭게 바꾸고
재배포할 수 있습니다.
법률이 허용하는 모든
범위내의 보증은
없습니다.
번역
이 매뉴얼 페이지의 한국어 번역은 다음에 의해 편집되었습니다: 한글 Manpage 프로젝트 <http://man.kldp.org>
이 번역은 무료 문서입니다. 저작권 조건에 대해서는 GNU General Public License 버전 3 이상을 읽으십시오. 책임이 없습니다.
이 매뉴얼 페이지의 번역에서 오류를 발견하면 translation-team-ko@googlegroups.com 로 이메일을 보내주십시오.
| 2025년 4월 | GNU coreutils 9.7 |