how to delete all the files with extension .dat rom a
directory tree from root to third level in a single unix
command?
Answer Posted / vipul dalwala
find . -name *.dat -maxdepth 3 -exec rm -f {} \;
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
How to redirect both standard output and standard error to the same location?
what is info area how many types?
Why is used in shell scripting?
What are the different communication commands available in the shell?
What can scripts do?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
How do we delete all blank lines in a file?
What makes c shell a more preferable option than the bourne shell?
Which scripting language is best for automation?
How important is shell scripting?
How does path variable work?
How do you create a shortcut in linux?
What is the use of "$#" in shell scripting?
shell script for reverse the string
What is bash eval?