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 / somnath
#!/bin/bash
find /home -name "*~" | xargs rm
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How can you get the value of pi till a 100 decimal places?
Is bash an operating system?
What is an sh file?
How can I set the default rwx permission to all users on every file which is created in the current shell?
How do you know which shell I am using?
What is shell and terminal?
What is a shell environment?
I have 2 files and I want to print the records which are common to both.
Is shell scripting a programming language?
What is the use of break command?
Is shell scripting a language?
What is difference between bash and shell?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
What is a shell in operating system?
What is a program shell?