Login
Remember
Register
Ask a Question
Write a bash script to delete all the files in the current directory that contains the word “linux”.
0
votes
asked
Nov 11, 2020
in
Linux
by
sharadyadav1986
Write a bash script to delete all the files in the current directory that contains the word “linux”.
#linux-bash-script
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 11, 2020
by
rahuljain1
Write a bash script to delete all the files in the current directory that contains the word “linux”.
for i in *linux*; do rm $i; done
...