Skip to content

rm - Remove

# Remove a file
rm "file"

# Remove a folder
rm -r "folder"
rm -rf "folder" # without asking

# Remove without asking
rm -f "file"

# Remove with wildcard
rm abc* # Remove everything that starts with abc