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 / sasmita
rm ' find /home -name "$~" -print' cleanup.sh
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is basename in shell script?
Explain about login shell?
Print the 10th line without using tail and head command.
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command
c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again
What is a shell in operating system?
c program to display the information of given file similar to givan by the unix or linux command ls -l
Explain about gui scripting?
Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.
What is option in shell script?
What is the fastest scripting language?
How do I run a script from command prompt?
What are the different types of variables used in shell script?