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 / saravanan
rm `find -maxdepth 2 -name *.dat`
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is sed in shell script?
Which is better perl or shell scripting?
How to print all the arguments provided to the script?
How to get the 3rd element/column from each line from a file?
How do I start a shell script?
What is difference between shell and bash scripting?
How to check if a directory exists?
What's the difference between scripting and coding?
Write a command sequence to find the count of each word?
What is shell variable?
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 are the advantages of shell script?
I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?
What is the use of .sh file?
Is shell scripting a programming language?