vim -d file01 file02 diff file01 file02 对比两文件的不同
2023-09-14 09:00:10 时间
[root@86 vhosts]# vim -d defaul.conf.bak zabbix.xinxianm.com.conf
server { | server { listen 80; | listen 80; server_name localhost; | server_name localhost zabbix.xinxianm.com; index index.html index.htm index.php; | index index.html index.htm index.php; root /alidata/www/default; | root /usr/html/zabbix; location ~ .*\.(php|php5)?$ | location ~ .*\.(php|php5) { | { #fastcgi_pass unix:/tmp/php-cgi.soc| #fastcgi_pass unix:/tmp/php-cgi.soc fastcgi_pass 127.0.0.1:9000; | fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; | fastcgi_index index.php; include fastcgi.conf; | include fastcgi.conf; ----------------------------------------------------| fastcgi_param PATH_INFO $fastcgi_scr } | } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ | location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { | { expires 30d; | expires 30d; } | } location ~ .*\.(js|css)?$ | location ~ .*\.(js|css)?$ { | { expires 1h; | expires 1h; } | } #α¾²Ì¬¹æÔò | ---------------------------------------------------- include /etc/nginx/rewrite/default.conf; | include /etc/nginx/rewrite/default.conf; access_log /var/log/nginx/default.log; | access_log /var/log/nginx/zabbix.log; } | } ~ | ~ ~ | ~ ~ | ~ ~ | ~ ~ | ~ ~ | ~ ~ | ~ ~ | ~ ~ | ~ defaul.conf.bak 1,1 All zabbix.xinxianm.com.conf 1,1 All "zabbix.xinxianm.com.conf" 24L, 550C
相关文章
- linux下的Emacs和Vim
- Vim使用笔记
- vim 命令行 格式化文件缩进
- 转载-vim配置收藏
- Linux高级运维 第五章 Vim编辑器和恢复ext4下误删除的文件-Xmanager工具
- BSD vi/vim 命令大全(下)[转]
- vim使用大全
- Vim中的断电恢复文件操作
- Linux vim多文件切换
- VIM如何自动保存文件、自动重加载文件、自动刷新显示文件
- vim命令学习
- Linux的vim三种模式及命令
- 再说vundle: 完全vim字符编程的四个必须插件 - zen coding 和emmet插件的使用
- L27.linux命令每日一练 -- 第三章 文件过滤及内容编辑处理命令 -- vi和vim命令
- vim以16进制方式打工文件
- macos linux vim Tab 修改为4个空格
- Linux系列 常用命令(目录和文件管理)vi和vim 编辑使用,(笔记)