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 does the sh command do?
Explain about gui scripting?
What is option in shell script?
What are the default permissions of a file when it is created?
What does chmod do?
What is bash shell command?
What does $@ mean in shell?
What is bash coding?
Is powershell a bash?
In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?
How can I set the default rwx permission to all users on every file which is created in the current shell?
How to get the first line from a file using just the terminal?
What is shell chemistry?
What is a shell script in windows?
what is info area how many types?