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
Previous revision
Next revision Both sides next revision
linux-commandline-tips [2019/02/19 02:26]
serbizadmin
linux-commandline-tips [2019/03/13 00:14]
serbizadmin [Find Stuff]
Line 11: Line 11:
 find / -type s find / -type s
 </code> </code>
 +  * find the latest file in a folder/subfolder
 + find . -type f -printf '%T@ %P\n' | sort -n | awk '{print $2}'
 ====== Differences====== ====== Differences======
   * between files, showing side by side   * between files, showing side by side
Line 36: Line 38:
 ====== PHP====== ====== PHP======
   * View php config   * View php config
- php -r "print phpinfo();" | grep ".ini"+<code> 
 +php -r "print phpinfo();" | grep ".ini" 
 +</code> 
 +or  
 +<code> 
 +php -i | grep in 
 +</code>