Archives for : File Search

How to Find and Sort Files Based on Modification Date and Time in Linux

If You Appreciate What We Do Here On Tecmint Its A Good Idea To Consider – How To Find And Sort Files Depending On Modification Date And Time In Linux

linux Likewise, by having some knowledge of sort command, you can sort almost any listing on the basis of any field and even its any column you desire.

You can have your tricks build depending on these.

These were some amount of tricks to depending on Date or Time. The below sort command first sorts on basis of last digit of the year, consequently sorts on basis of last digit of month in reverse order and finally sorts on basis of first field. While making it look like a mess, this whole stuff fills our directories, usually desktop. Sounds familiar? While it’s. Some kept in a separate folder created for our ease of understanding. We are in habit of saving a bunch of information in kind of files on our system. Now we will print the result as, Here, we use find command to find all the files in root directory.

Currently a Computer Science student and a geek whenever it boils down to Operating System and its concepts.