Please write a loop for removing all files in the current directory that contains a word ‘log’?

Answer Posted / saurabh

rm -rf *log*

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What linux hotkeys do you know?

464


What are the different types of files in linux?

441


Explain the task kernel performs?

498


what is inode number in linux operating system?

450


Where are semaphores used?

454






What are system calls in linux?

498


Does apple use linux?

451


Is it possible to use shortcuts for a long pathname?

494


How do you create a new user account?

438


What does mutex stand for?

430


What utility would you use to replace a string ‘2001’ for ‘2002’ in a text file?

563


Can bsd run linux programs?

475


Which is the most stable linux distro?

391


What is the latest version of linux?

474


What are the different modes when using the vi editor?

506