bash usunąć plik
# EXAMPLE
rm YourFileName.ext
# SYNTAX
# rm [option(s)-if-any] <your-file-name-with-extension>
# +---------+------------------------------------------------------------------+
# | OPTIONS | DESCRIPTION |
# +---------+------------------------------------------------------------------+
# | -f | Force: ignore nonexistent files, never prompt |
# | -i | Interactive: prompt before every removal |
# | -I | Interactive: only prompt before removing more than three files |
# | -r | Recursive: remove directories and their contents recursively |
# | -v | Verbose: explain what is being done |
# +---------+------------------------------------------------------------------+
usuń plik terminala linux
rm filename
# or add -rf if you don't want to see confirm
usuń wszystkie pliki z określoną nazwą ubuntu
find -type f -name '*text*' -delete
usuń plik lub katalog w systemie linux, mac lub ubuntu
note:your_file_name can be a dir or a file
sudo rm -r your_file_name
jak usunąć plik z pomocą bash
rm <filename>
rm something.html
rm ./dist/something.html
terminal linux usuwa plik
rm filename