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 you find out What is your shell?
Can we run shell script in windows?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
I have 2 files and I want to print the records which are common to both.
How do I run a shell script on a mac?
i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..
Is shell scripting a language?
What does $0 mean in shell script?
What is bourne shell scripting?
Where are cowrie shells found?
What is bash used for?
What is the equivalent of a file shortcut that we have a window on a linux system?
What does debug script mean?
How do I open the shell in cmd?
Given a file find the count of lines containing the word "abc".