Create a bash shell script that removes all files whose
names end with a "~" from your home directory and
subdirectories. Name this script "cleanup.sh"
Answer Posted / stevemc
#!/bin/bash
cd ~
find . -name "*~" | xargs rm
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
how to get part of string variable with echo command only?
shell script for reverse the string
How do I debug a shell script?
What does $1 mean in bash?
What is the first line in every perl script called?
Is powershell a bash?
I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?
What is the first line of a shell script called?
What is in a script?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
What is shift command in shell script?
what is tickets $ what low,medium,high priorite pls define time also
What is bash coding?
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.
How can I send a mail with a compressed file as an attachment?