Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / kuldeep singh

#!/bin/sh

cd | ls -lR | grep "~$" | rm -f

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the crontab?

1087


What are the zombie processes?

972


What is the difference between bash and shell?

1123


What are the 3 standard streams in linux?

1142


What language is bash?

924


What is the first line in a shell script?

1108


How do I run a bin bash script?

1034


is this growing field and what is average package in this?

2304


Why are shell scripts used?

1078


What is shell and shell script?

1117


What is c in shell script?

1068


What is a boot block?

1029


Explain about the slow execution speed of shells?

1231


How do I run a .sh file?

1022


What is a batch file used for?

1081