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 is a batch file used for?
Write down the syntax of "for " loop
Is shell scripting a programming language?
Explain about echo command?
wats the deinitions for shell utility and filter?
What happens on a system call?
How do you find out What is your shell?
Give some situations where typing error can destroy a program?
shell script for reverse the string
How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?
Explain about shebang?
How do I save a powershell script?
Is scripting and coding the same thing?
What is path in shell script?
What is echo in shell?