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 [2018/12/11 05:07] serbizadmin [Differences] |
linux-commandline-tips [2019/02/19 02:26] serbizadmin |
||
---|---|---|---|
Line 15: | Line 15: | ||
< | < | ||
diff -y file1 file2 | less | diff -y file1 file2 | less | ||
+ | </ | ||
+ | * differences of files between directories | ||
+ | < | ||
+ | diff <(ls -a /dir1/) <(ls -a /dir 2/) | ||
+ | </ | ||
+ | or compare | ||
+ | < | ||
+ | comm <(ls -a /dir/) <(ls -a /dir2/) | ||
</ | </ | ||
\\ | \\ | ||
Line 25: | Line 33: | ||
cat /dev/null > modsec_audit.log</ | cat /dev/null > modsec_audit.log</ | ||
See also "log rotate" | See also "log rotate" | ||
+ | \\ | ||
+ | ====== PHP====== | ||
+ | * View php config | ||
+ | php -r "print phpinfo();" |