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:15]
serbizadmin [Find Stuff]
Line 10: Line 10:
 <code> <code>
 find / -type s find / -type s
 +</code>
 +  * find the latest file in a folder/subfolder
 +<code>
 +find . -type f -printf '%T@ %P\n' | sort -n | awk '{print $2}'
 </code> </code>
 ====== Differences====== ====== Differences======
Line 36: Line 40:
 ====== 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>