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
Write down the syntax of "for " loop
What is the use of "$?" Sign in shell script?
What is sed in shell script?
I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
How to get script name inside a script?
How do I run a shell script in powershell?
How to print all array elements and their respective indexes?
What does path stand for?
How to get the 3rd element/column from each line from a file?
What is a batch file used for?
What is shell and shell script?
How can I send a mail with a compressed file as an attachment?
What are the different communication commands available in the shell?
Please give me example of " at command , contrab command " how to use