---
title: "compare file content"
author: "maxer025"
date: "2020-11-04T16:25:39Z"
tags: []
categories: ["操作系统"]
slug: "compare-file-content"
draft: false
lastmod: "2020-11-04T16:25:39Z"
id: 2517457
url: "https://maxer025.iteye.com/blog/2517457"
---

grep -Fxvf /usr/cp/Log/alarms/prvAlarms.log /usr/cp/Log/alarms/curAlarms.log > /usr/cp/Log/alarms/difAlarms.log