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 @echo off?
Is scripting and coding the same thing?
How do I stop script errors?
Write a shell script to get current date, time, user name and current working directory.
What does $@ mean bash?
How to open a read-only file in the shell?
What is shell variable?
What are the different variables present in linux shell?
What does sh mean?
What is the use of break command?
What is shell application?
What are zombie processes?
Which is better perl or shell scripting?
What does echo mean in scripting?
What will happen to my current process when I execute a command using exec?