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
What is the crontab?
What are the zombie processes?
What is the difference between bash and shell?
What are the 3 standard streams in linux?
What language is bash?
What is the first line in a shell script?
How do I run a bin bash script?
is this growing field and what is average package in this?
Why are shell scripts used?
What is shell and shell script?
What is c in shell script?
What is a boot block?
Explain about the slow execution speed of shells?
How do I run a .sh file?
What is a batch file used for?