Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual page 785

For ex series ethernet switches
Table of Contents

Advertisement

file compare files
file compare files
file compare files
context
file compare files
unified
Copyright © 2010, Juniper Networks, Inc.
user@host> file compare files /tmp/one /tmp/two
100c100
<
full-name "File 1";
---
>
full-name "File 2";
102c102
<
class foo; # 'foo' is not defined
---
>
class super-user;
user@host> file compare files /tmp/one /tmp/two context
*** /tmp/one
Wed Dec
--- /tmp/two
Wed Dec
***************
*** 97,104 ****
}
}
user bill {
!
full-name "Bill Smith";
!
class foo; # 'foo' is not defined
authentication {
encrypted-password SECRET;
}
--- 97,105 ----
}
}
user bill {
!
full-name "Bill Smith";
!
uid 1089;
!
class super-user;
authentication {
encrypted-password SECRET;
}
user@host> file compare files /tmp/one /tmp/two unified
--- /tmp/one
Wed Dec
+++ /tmp/two
Wed Dec
@@ -97,8 +97,9 @@
}
}
user bill {
-
full-name "Bill Smith";
-
class foo; # 'foo' is not defined
+
full-name "Bill Smith";
+
uid 1089;
+
class super-user;
authentication {
encrypted-passwordSECRET;
}
Chapter 36: Operational Commands for System Monitoring
3 17:12:50 2003
3 09:13:14 2003
3 17:12:50 2003
3 09:13:14 2003
681

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents