command used to remove files in linux code example Example 1: shell remove file rm <file_name> Example 2: how to remove file from directory in linux rm /home/harry/ascii.txt