You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
343 B
17 lines
343 B
1 year ago
|
[appendix]
|
||
|
= Linux
|
||
|
== 将二进制文件以16进制形式显示
|
||
|
[source,bash]
|
||
|
----
|
||
|
xxd 文件.zip > 文件.hex
|
||
|
----
|
||
|
|
||
|
== 文件比较
|
||
|
[source,bash]
|
||
|
----
|
||
|
# 将 文件1 和 文件2 的比较结果输出到控制台中
|
||
|
diff 文件1 文件2
|
||
|
|
||
|
# 将 文件1 和 文件2 的比较结果输出到 diff.txt 文件中
|
||
|
diff 文件1 文件2 > diff.txt
|
||
|
----
|