linux common commands --rm continue to add [ing]

rm # is the abbreviation remove (remove), the command is a command for deleting

Example: rm temp.txt # temp.txt delete files belonging to the current user.

Example: Ask before rm -i temp.txt # temp.txt delete files. Select general requirements [y / n]

Example: rm -f temp.txt # forcibly removed.

Example: rm -r temp # recursively delete files in the directory, subdirectory, and directory.

Example: RM -rf the TEMP  # recursion, forced to delete files in the directory, subdirectory, and directory

Note: rm -rf delete command to be careful with caution, Once deleted, files can not be recovered.

Guess you like

Origin www.cnblogs.com/creasybear/p/11589009.html