10.10

ifconfig |head    显示网卡头十行

ifconfig |head  -n  3    显示XX头3行

ifconfig |tail   显示尾十行

ifconfig |tail  -n  X    显示尾X行

#!/bin/bash    用bash运行

chmod u+x 文件名     添加权限

ls -la 文件名   查看权限

/var/www/html                               httpd位置

 

 

<?php

 ?>                                                  PHP格式

 

echo "XXXXXXXXXXX"."<br>";                  注释

.date('Y-m-d h:i:s',time());         时间代码

phpinfo();            测试PHP的代码

原文地址:https://www.cnblogs.com/czkbz/p/5947912.html