Create a bash shell script that removes all files whose
names end with a "~" from your home directory and
subdirectories. Name this script "cleanup.sh"
Answer Posted / sasmita
rm ' find /home -name "$~" -print' cleanup.sh
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is option in shell script?
How to write a function?
What is the difference between break and continue commands?
Which scripting language is best for automation?
What is computer cli?
Why is shell scripting important?
What is shell geeksforgeeks?
What are the advantages of shell script?
What is the significance of $#?
What is a shell? · Types of shell · what is shell scripting?
What are the types of script?
What are the four fundamental components of every file system on linux?
Is shell a scripting language?
When should shell programming/scripting not be used?
How do I run a shell script on a mac?