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 / cdude
#/bin/bash
rm `find . -name *~`
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
What are the default permissions of a file when it is created?
What is a shell in operating system?
How do I debug a shell script?
What is difference between bash and shell?
What happens on a system call?
What makes c shell a more preferable option than the bourne shell?
What's the difference between scripting and coding?
How do I open a jshell in cmd?
What is a shell? · Types of shell · what is shell scripting?
What is sudo command?
How to print all the arguments provided to the script?
What is eval in shell script?
How to redirect both standard output and standard error to the same location?
What does path stand for?
What language is used in terminal?