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
Tell something about the super block in shell scripting?
How to print pid of the current shell?
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.
What can scripts do?
c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again
Why do we use shell scripting?
What is the default ubuntu terminal?
is this growing field and what is average package in this?
Can shell script run on windows?
What are the different types of shell scripting?
What are zombie processes?
Explain about sourcing commands?
What is shell application?
How does shell scripting work?
What is difference between shell and bash scripting?