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 is the difference between bash and shell?
What is @echo off?
What is the best shell scripting language?
What are types of shells?
How to check if the previous command was run successfully?
How to print all array elements and their respective indexes?
What is basename in shell script?
What is the use of break command?
c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l
Can shell script run on windows?
Please give me example of " at command , contrab command " how to use
Why should we use shell scripts?
What is sh in shell script?
What does debug script mean?
How will you pass and access arguments to a script in linux?