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/10/10 08:31]
serbizadmin
linux-commandline-tips [2020/07/15 09:22]
serbizadmin [Compression]
Line 44: Line 44:
 shopt -s extglob</code> shopt -s extglob</code>
 \\ \\
 +====== Compression======
 +  * lossless, multi-thread compression: keeping sourcing file, progress, high efficiency, extrem flag 
 +<code>
 +time xz -6ve -k --threads=0 <filename>
 +</code>
 +  * test integrity 
 +<code>
 +xz -tv <filename>.tar.xz
 +</code>
 ====== PHP====== ====== PHP======
   * View php config   * View php config
Line 54: Line 63:
 </code> </code>
 \\ \\
 +  * reinstall all php packages
 +<code>
 +apt-get install --reinstall `dpkg -l | grep 'ii  php7' | awk '{ printf($2" "); next}'`
 +</code>
 ====== Log Analysis====== ====== Log Analysis======
-* limiting by date+* limiting by date range
  
 sed -n '/8\/Oct\/2019/,/8\/Oct\/2019/ p' access.log sed -n '/8\/Oct\/2019/,/8\/Oct\/2019/ p' access.log