Man page - rm(1)
Packages contains this manual
- nohup(1)
- expand(1)
- base32(1)
- stdbuf(1)
- env(1)
- chgrp(1)
- sha1sum(1)
- printenv(1)
- arch(1)
- whoami(1)
- sha384sum(1)
- sha224sum(1)
- nl(1)
- unlink(1)
- mv(1)
- comm(1)
- basenc(1)
- timeout(1)
- link(1)
- sync(1)
- paste(1)
- true(1)
- cut(1)
- sleep(1)
- uname(1)
- nproc(1)
- tty(1)
- seq(1)
- wc(1)
- tail(1)
- shred(1)
- split(1)
- unexpand(1)
- false(1)
- realpath(1)
- date(1)
- pr(1)
- expr(1)
- rmdir(1)
- tr(1)
- stat(1)
- numfmt(1)
- stty(1)
- sha512sum(1)
- hostid(1)
- [(1)
- ls(1)
- chcon(1)
- df(1)
- runcon(1)
- od(1)
- ln(1)
- ptx(1)
- echo(1)
- vdir(1)
- touch(1)
- chown(1)
- users(1)
- chroot(8)
- truncate(1)
- dircolors(1)
- printf(1)
- pwd(1)
- fmt(1)
- groups(1)
- sort(1)
- b2sum(1)
- cksum(1)
- join(1)
- dirname(1)
- readlink(1)
- tsort(1)
- id(1)
- mktemp(1)
- base64(1)
- csplit(1)
- sha256sum(1)
- tac(1)
- shuf(1)
- sum(1)
- fold(1)
- who(1)
- test(1)
- mkdir(1)
- mkfifo(1)
- pathchk(1)
- cat(1)
- tee(1)
- md5sum(1)
- cp(1)
- basename(1)
- rm(1)
- yes(1)
- dd(1)
- install(1)
- factor(1)
- dir(1)
- uniq(1)
- du(1)
- logname(1)
- chmod(1)
- pinky(1)
- nice(1)
- mknod(1)
- head(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
μ΄ λ¦μ μ½
μ€ λͺ
μ΅ μ
μ μ
λ² κ·Έ 보 κ³
μΆ κ° μ°Έ μ‘°
λ² μ
μ΄ λ¦
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 λ‘ μ΄ λ© μΌ μ 보 λ΄ μ£Ό μ μ μ€ .