delete txt file linux code example
Example 1: delete file linux terminal
rm filename
# or add -rf if you don't want to see confirm
Example 2: how to delete files in linux
rm .. rm -r .. r stands for recursive
rm filename
# or add -rf if you don't want to see confirm
rm .. rm -r .. r stands for recursive