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



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

Answer / saurabh

rm -rf *log*

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux General Interview Questions

Is kali linux legal?

1 Answers  


What is ssh port forwarding?

1 Answers  


Explain virtual desktop.

1 Answers  


Which account is created on linux installation?

1 Answers  


When you create a new partition, you need to designate its size by defining the starting and ending?

1 Answers  


How do you change permissions on a directory of file?

4 Answers  


How to remove directory with files?

1 Answers  


How process is created in linux?

1 Answers  


What key combination can you press to suspend a running job and place it in the background?

1 Answers  


What are the kinds of permissions under linux?

1 Answers  


How to unzip a file in Linux?

1 Answers  


Is linux affected by viruses?

1 Answers  


Categories