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 / sasmita
rm ' find /home -name "$~" -print' cleanup.sh
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of shell script?
What is bash used for?
Why are there shells on the beach?
How do I read a .sh file?
What is the lifespan of a variable inside a shell script?
What is the use of "$#" in shell scripting?
Is bash an operating system?
Why is shell scripting important?
what is info area how many types?
How to calculate the number of passed arguments?
What is @echo off?
What's the difference between scripting and coding?
What is in a script?
What is the syntax of while loop in shell scripting?
Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.