Files
linux-wiki/content/linux 入门/第一章/1.18.md
2021-10-21 14:57:58 +08:00

26 lines
855 B
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#1.18
### 数据管理
1. tar :归档
1. tar -cavf x.tar.xz x1 x2 x3
2. tar -rvf x.tar x1 x2 x3 未压缩前可以追加文件进包-r
3. tar -xavf x.tar.xz -C x 解压缩到x
4. tar -tvf x.tar.xz 查看包内容
2. cpio unix归档
3. paxposix归档
4. gzip .gz压缩
1. gunzi/gzip -d
5. bzip2 .bz2压缩
6. xz-utils : .xz压缩
7. zip/unzip .zip压缩(支持多文件)
1. `zip x.zip x1 x2 x3` 打包压缩x1、x2、x3
2. `upzip x.zip -d x` 解压缩到x目录
8. p7zip .7z压缩
9. cp/scp/rsync: 复制、同步
10. split分段
11. gnupg openpgp加密签名工具包
12. md5sum 计算md5校验和
13. openssl 计算信息摘要
14. git 分布式数据版本管理
15. `iconv -f GBK -t UTF-8`: 字符集转换
16. catdoc 将msword转化为txt
17. rsync 备份