This shows you the differences between two versions of the page.
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: | ||
< | < | ||
find / -type s | find / -type s | ||
+ | </ | ||
+ | * find the latest file in a folder/ | ||
+ | < | ||
+ | find . -type f -printf '%T@ %P\n' | sort -n | awk ' | ||
</ | </ | ||
====== Differences====== | ====== Differences====== | ||
Line 36: | Line 40: | ||
====== PHP====== | ====== PHP====== | ||
* View php config | * View php config | ||
- | php -r "print phpinfo();" | + | < |
+ | php -r "print phpinfo();" | ||
+ | </ | ||
+ | or | ||
+ | < | ||
+ | php -i | grep in | ||
+ | </ |