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
What is .sh file in mac?
What are different types of shell?
How to get the first line from a file using just the terminal?
What lives in a shell?
What happens when you type ls?
Is shell scripting a language?
What does path stand for?
What is wc in shell script?
I want to connect to a remote server and execute some commands, how can I achieve this?
What are filters explain sort with all the options available?
What is an inode block?
What is the conditional statement in shell scripting?
How would you compare the strings in a shell script?
Explain about shebang?
Is powershell a bash?