server { charset utf-; client_max_body_size 128M; # Add index.php to the list if you are using PHP index index.html index.htm index.php; server_name *.tl.com; set $old_port ; set $new_port ; if ($host = tl.com) { rewrite ^ www.tl.com permanent; } loc
一.文件和目录 cd /home :进入‘/home’目录 cd .. 返回上一级目录 cd ../..返回上两级目录 cd 进入个人的主目录 cd ~user1进入个人的主目录 cd - 返回上次所在的目录 pwd 显示工作路径 ls 查看目录中的文件 ls -F 查看目录中的文件 ls -l 显示文件和目录的详细资料 ls -a 显示隐藏文件 ls *[0-9]* 显示包含数字的文件名和目录名 tree 显示文件和目录由根目录开始的属性结构 lstree 显示文件和目录由根目录开始的属性结构