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 does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?
What is bash used for?
How to check if the previous command was run successfully?
What is the difference between break and continue commands?
What is the first line in every perl script called?
How do I debug a shell script?
What language is shell scripting?
What are different types of shell?
How do I open a jshell in cmd?
What language is bash?
How do I run a powershell script?
What is path variable bash?
What is the equivalent of a file shortcut that we have a window on a linux system?
What is bash eval?
Please give me example of " at command , contrab command " how to use