You want to search for all the *.tar files in your home directory and wants to delete all at once. How will you do it?
Answer / Sohan Sagar Jha
To achieve this, use the command line with a combination of 'find', 'xargs' and 'rm'. Here's an example command: `find ~ -name '*.tar' -exec rm {} ;`. This command will search for all *.tar files in your home directory using find, then exec rm to delete them, and the ; tells it that the command is complete.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is linux the future of gaming?
Is linux good for programming?
What are the features of linux os over other operating systems etc?
how can you configure dns caching server in linux operating system?
1 Answers SwanSoft Technologies,
Is it possible to use shortcuts for a long pathname?
How to jump to a particular line in a file using vim editor?
What does gnu stand for?
How do you sort the entries in a text file in ascending order?
What does wget do in linux?
Which are the shells used in linux?
What is the main difference between yum & rpm?
How to unzip a file in Linux?