Upload files to "OS/bash/Week4"
Signed-off-by: Aadit Agrawal <tech@aaditagrawal.com>
This commit is contained in:
parent
3d5dfd6481
commit
5b0eda8b4e
5 changed files with 108 additions and 0 deletions
10
OS/bash/Week4/q2.sh
Normal file
10
OS/bash/Week4/q2.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "Deleteing the following files"
|
||||
|
||||
for file in "$@";do
|
||||
echo "$file"
|
||||
rm -i "$file"
|
||||
done
|
||||
|
||||
echo "All files deleted successfully"
|
Loading…
Add table
Add a link
Reference in a new issue