
rm (アールエム)はPOSIXおよびSingle UNIX Specificationで規定されているコマンドである。 rm (Aruemu) is a POSIX and Single UNIX Specification is a command has been stated.
rmは「remove」の略であり、 ファイルシステムよりファイルを削除するために使用される。 rm is "remove" stands for, which is used to delete a file from the file system. AT&T UNIXの最初のバージョンから存在していた。 AT & T version of UNIX have existed from the first.
rmは引数に指定されたファイルを削除する。 rm deletes a file specified as argument. デフォルトではディレクトリの削除は行なわない。 By default, the directory行Nawanai removed. -rや-Rオプションを使用と指定されたディレクトリ以下の全ディレクトリ ツリーが削除される。 -r or-R tree is removed all directories below the specified directory option. 引数のパスが . または .. で終わる場合はエラーとなる。 Path of the argument. .. Or if it ends in an error.
POSIXオプションを次に示す。 Following POSIX options.
スティッキービットのセットされているディレクトリ配下のファイルは、そのファイルの所有者かディレクトリの所有者かスーパーユーザーでないと削除できない。 Files under the directory has the sticky bit is set, can not be removed or not superuser and owner of the directory or the file owner.
| ||||||||||||||||||||||||||
