rm filename1 filename2
rm -r dirctorynameor use
rm -rfto not show warnings.
rm ./*, or
rm -rf ./*to delete all fines and directories.
rm -rf .??*The initial " . " indicates a 'hidden' file and the " ?? " match at least two characters to exclude the parent-directory which is " .. " and to remove or delete everything the " * " will match all number or characters that used for files or directory name.
more flags and arguments: -d, --directory unlink FILE, even if it is a non-empty directory (super-user only; this works only if your system supports `unlink' for nonempty directories) -f, --force ignore nonexistent files, never prompt -i, --interactive prompt before any removal --no-preserve-root do not treat `/' specially (the default) --preserve-root fail to operate recursively on `/' -r, -R, --recursive remove the contents of directories recursively -v, --verbose explain what is being done --help display this help and exit --version output version information and exit