Man page - rm(1)

Packages contains this manual

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 de

Manual

RM

이 름
μš” μ•½
μ„€ λͺ…
옡 μ…˜
μ € 자
버 κ·Έ 보 κ³ 
μΆ” κ°€ μ°Έ μ‘°
번 μ—­

이 름

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 둜 이 λ©” 일 을 보 λ‚΄ μ£Ό μ‹­ μ‹œ 였 .