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 does $0 mean in shell script?
What is subshell?
Explain about stdin, stdout and stderr?
How do I debug a shell script?
How will you emulate wc –l using awk?
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
What is batch file programming?
What are script files?
How does ls command work?
What is web script?
What are the different types of shell scripting?
What does .sh file contain?
What is shell and shell script?
How to get script name inside a script?
is this growing field and what is average package in this?