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 best scripting language?

1007


What is computer cli?

883


How do you find out What is your shell?

1045


What is shell and terminal?

978


What is the way to do multilevel if-else's in shell scripting?

1285


What are the types of script?

1149


What is basename in shell script?

1043


Can you write a script to portray how set –x works?

988


What's the difference between scripting and coding?

1161


What is the syntax of while loop in shell scripting?

1031


Where are cowrie shells found?

1000


What is the crontab?

1060


Explain how you Automate your application using Shell scripting.

2300


How to calculate the number of passed arguments?

1070


What does it mean to debug a script?

1033