MIT-Curricular/OS/bash/q2.sh
2025-01-24 10:04:28 +05:30

10 lines
140 B
Bash

#!/bin/sh
echo "Deleteing the following files"
for file in "$@";do
echo "$file"
rm -i "$file"
done
echo "All files deleted successfully"