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

NIMI
YLEISKATSAUS
KUVAUS
VALITSIMET
TEKIJÄ
VIRHEISTÄ ILMOITTAMINEN
KATSO MYÖS
KÄÄNNÖS

NIMI

rm - remove files or directories

YLEISKATSAUS

rm [ VALITSIN ]... [ TIEDOSTO ]...

KUVAUS

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.

VALITSIMET

Poista (irrota linkitys) TIEDOSTO(t).
-f
, --force

ÀlÀ huomioi puuttuvia tiedostoja, ÀlÀ kysy mitÀÀn

-i

kysy ennen jokaista poistoa

-I

prompt once before removing more than three files, or when removing recursively; less intrusive than -i , while still giving protection against most mistakes

--interactive [= MILLOIN ]

kehottaa sen mukaan, MILLOIN: ei koskaan, kerran (-I) tai aina (-i); ilman MILLOIN:a, kehota aina

--one-file-system

jÀrjestelmÀ, kun poistat hierarkian rekursiivisesti, ohita hakemisto, joka on tiedostojÀrjestelmÀssÀ, joka ei ole vastaavan komentoriviargumentin argumentti

--no-preserve-root

Ă€lĂ€ kohtele juurta (”/”) erityisesti

--preserve-root [= all ]

do not remove ’/’ (default); with ’all’, reject any command line argument on a separate device from its parent

-r , -R , --recursive

poista hakemistojen sisÀltö rekursiivisesti

-d , --dir

remove empty directories

-v , --verbose

selitÀ mitÀ tapahtuu

--help

nÀytÀ tÀmÀ ohje ja poistu

--version

nÀytÀ versiotiedot ja poistu

Oletusarvon mukaan rm ei poista kansioita. KÀytÀ --recursive ( -r tai -R ) -vaihtoehto poistaa myös kaikki luetellut kansiot ja kaikki sen sisÀltö.

Any attempt to remove a file whose last file name component is ’.’ or ’..’ is rejected with a diagnostic.

Tiedoston, jonka nimi alkaa merkillĂ€ ”-”, esim. ”-foo”, voi poistaa seuraavilla komennoilla:

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).

TEKIJÄ

Kirjoittaneet Paul Rubin, David MacKenzie, Richard M. Stallman ja Jim Meyering.

VIRHEISTÄ ILMOITTAMINEN

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Ilmoita kÀÀnnösvirheistÀ osoitteeseen <https://translationproject.org/team/fi.html>

KATSO MYÖS

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

Koko dokumentaatio: <https://www.gnu.org/software/coreutils/rm>
tai saatavilla paikallisesti: info '(coreutils) rm invocation'

Packaged by Debian (9.7-2)
Copyright © 2025 Free Software Foundation, Inc.
Lisenssi GPLv3+: GNU GPL versio 3 tai myöhempi <https://gnu.org/licenses/gpl.html>.
TÀmÀ on vapaa ohjelmisto; sitÀ saa vapaasti muuttaa ja levittÀÀ edelleen.
SiinÀ mÀÀrin kuin laki sallii, TAKUUTA EI OLE.

KÄÄNNÖS

TÀmÀn kÀsikirjan suomenkielisen kÀÀnnöksen tekivÀt Ville Karjalainen <duet@sci.fi>

TÀmÀ kÀÀnnös on ilmainen dokumentaatio; katso tekijÀnoikeusehdot GNU General Public License -versiosta 3 tai uudemmasta. Emme ota vastuuta.