moodLearning Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
linux-commandline-tips [2019/03/13 00:14]
serbizadmin [Find Stuff]
linux-commandline-tips [2019/03/13 00:15]
serbizadmin [Find Stuff]
Line 12: Line 12:
 </code> </code>
   * find the latest file in a folder/subfolder   * find the latest file in a folder/subfolder
- find . -type f -printf '%T@ %P\n' | sort -n | awk '{print $2}'+<code> 
 +find . -type f -printf '%T@ %P\n' | sort -n | awk '{print $2}' 
 +</code>
 ====== Differences====== ====== Differences======
   * between files, showing side by side   * between files, showing side by side