Difference between revisions of "完美日用小工具"

Jump to navigation Jump to search
no edit summary
|== zip 文件解压后文件名乱码 ==
{| class="wikitable"
| unar -e GBK
|-
 
| zip 文件解压后文件名乱码
|== 显示所有进程,且只显示第12列 ==
| unar -e GBK
| ps aux | awk '{print $11}'
|-
 
| 显示所有进程,且只显示第12列
|== 让 apache2 中的 php 代码活起来 ==
| ps aux | awk '{print $11}'
|-
| 让 apache2 中的 php 代码活起来
|
<syntaxhighlight lang="Apache" line>
Include etc/apache2/conf.d/*.conf
AddHandler php-script .php
</syntaxhighlight>
 
|-
|== 复制东西进另一个地方 ==
| scp sth.zip host:~
 
|-
|== 给本目录下所有文件夹名字后加加一个 g 字符 ==
|
<syntaxhighlight lang="bash" line>
#!/bin/bash
done
</syntaxhighlight>
|}

Navigation menu