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 / kuldeep singh
#!/bin/sh
cd | ls -lR | grep "~$" | rm -f
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
wats the deinitions for shell utility and filter?
What is echo in shell?
What shell is bin sh?
What are the advantages of using shell scripts?
What does .sh file contain?
Is shell a part of kernel?
Explain about shebang?
What is shell company all about?
What can you do with powershell?
How do you create a shortcut in linux?
What are the zombie processes?
What does echo $0 do?
What is computer cli?
What is the first line in every perl script called?
Tell something about the super block in shell scripting?