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 a file basename?
Explain about the exit command?
What is console line?
How do you find out What is your shell?
Is shell scripting easy to learn?
What language is bash written in?
Why is shell scripting important?
What is the way to do multilevel if-else's in shell scripting?
What are types of shells?
Where is bash history?
Why do we write bin bash in shell scripts?
What is shell and terminal?
What is .sh file in mac?
What is the command to find out users on the system?
Is shell scripting useful?