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
What is shell company all about?
How many fields are present in a crontab file and what does each field specify?
What is the fastest scripting language?
What is the default shell of solaris?
What is bash eval?
What are the various stages of a linux process it passes through?
how will you find the total disk space used by a specific user?
Why are shell scripts used?
What are the disadvantages of shell scripting?
How do you find out What is your shell?
What is bash used for?
What is a file basename?
How do I run a shell script in powershell?
What is awk in shell script?
What is the lifespan of a variable inside a shell script?