# Delete a file rm("input.txt") # Delete a directory rm("docs", recursive = true)