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 / vipul dalwala
find . -name *.dat -maxdepth 3 -exec rm -f {} \;
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is a scripting language simple definition?
What is sed in shell script?
How does path variable work?
State the advantages of shell scripting?
Is shell scripting easy to learn?
What is the meaning of $1 in shell script?
What makes c shell a more preferable option than the bourne shell?
What is the use of .sh file?
What is the significance of $#?
Explain about sourcing commands?
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.
What shell is bin sh?
What is inside a seashell?
What is a batch file used for?
What is the best scripting language?