Lullar    


ビデオジャパンは、最大でランク。

rm (UNIX) rm (UNIX)

出典: フリー百科事典『ウィキペディア(Wikipedia)』 Source: material may be challenged Wikipedia encyclopedia (Wikipedia) 』


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.

[ 編集 ] 振る舞い Behavior

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.

  • -f 存在しないファイルを指定してもエラーを返さない。 -f does not return an error even if the file does not exist. 確認問い合わせをしない。 Contact not confirmed.
  • -i すべてに削除に対して問い合わせを表示する。 -i to display the contact to delete all.
  • -r または -R 指定以下のディレクトリツリーを削除する。 -r or-R to remove the following directory tree specified.

スティッキービットのセットされているディレクトリ配下のファイルは、そのファイルの所有者かディレクトリの所有者かスーパーユーザーでないと削除できない。 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.

[ 編集 ] 外部リンク External links

  • Manpage of RM man page、JM Project(GNU 版) Manpage of RM man page, JM Project (GNU version)
  • rm(1) man page(SunOS リファレンスマニュアル) RM (1) man page (SunOS Reference Manual)
  • rm(1) man page(HP-UX リファレンス) RM (1) man page (HP-UX Reference)

ビデオジャパンは、最大でランク。




© Lullar