#!/bin/bash for file in *.txt do rm $file touch $file done