|
发表于 2016-6-21 18:03:03
|
显示全部楼层
在shell下输入 man rm
RM(1) User Commands RM(1)
NAME
rm - remove files or directories //删除文件或目录
SYNOPSIS
rm [OPTION]... FILE...
DESCRIPTION
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 --interac-
tive=always option is given, rm prompts the user for whether to remove
the file. If the response is not affirmative, the file is skipped.
|
|