Home » 2016 » December » 11

Hello Linux/Unix lovers,

I never knew that find command can be so useful. I have collated some cool find command example which can always help you in your work stations.

I am sure you all know the format of find command.

Format: 

find path criteria action


Example

find . -name "*.log" -exec ls -l {} \;

 

1. Find all the log file inside a folder/subfolder and delete or archive them.

fi ... Read more »

Category: Open System-Linux | Views: 2299 | Added by: shanky | Date: 2016-12-11 | Comments (0)