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 open the shell in cmd?
Why are shell scripts used?
how to print the 2-d, 3-d arrays in unix shell script programs please answer thi questio to my mail venusaikumar@gmail.com
Explain about sourcing commands?
How does ls command work?
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
What is option in shell script?
What is ms powershell?
How do I open the shell prompt?
What is awk in shell script?
What does sh mean?
What is a shell environment?
How to use arguments in a script?
What is the crontab?
What is the syntax of while loop in shell scripting?