how to remove a file from a directory in linux code example
Example 1: delete all files with specific name ubuntu
find -type f -name '*text*' -delete
Example 2: how to remove file from directory in linux
rm /home/harry/ascii.txt
find -type f -name '*text*' -delete
rm /home/harry/ascii.txt