0 votes
in Linux by
Write a bash script to delete all the files in the current directory that contains the word “linux”.

1 Answer

0 votes
by
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

Related questions

0 votes
asked Feb 7 in JavaScript by john ganales
0 votes
asked Oct 23, 2022 in Hadoop by DavidAnderson
...