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 / sreekanth turuka
grep -l "*.dat" /dir1/dir2/dir3 | rm
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I read a .sh file?
What is sh in shell script?
What is a batch file used for?
Is shell a part of kernel?
What are the different types of commonly used shells on a typical linux system?
Explain about non-login shell files?
Write a command sequence to find the count of each word?
What language is shell scripting?
What are the different communication commands available in the shell?
What are the different variables present in linux shell?
is this growing field and what is average package in this?
What are script files?
Is bash a shell script?
What is the difference between grep and egrep?
Is powershell a language?