delete files and folder in linux code example
Example 1: how to remove file from directory in linux
rm /home/harry/ascii.txt
Example 2: linux delete files in folders without deleting the folder
find /path/to/directory -type f -exec rm -iv {} \;
rm /home/harry/ascii.txt
find /path/to/directory -type f -exec rm -iv {} \;