当前位置:网站首页>rhcsa笔记五
rhcsa笔记五
2022-07-23 15:55:00 【zyfpkp】
1.使用tar命令对文件进行打包压缩与解压缩
使用gzip方式对文件进行压缩,并指定压缩名为 tar_gzip.tar.gz


使用bzip2方式对文件夹进行压缩,并指定压缩名为 tar_bzip2.tar.bz2


使用xz方式对文件进行压缩,并指定压缩名为 tar_xz.tar.xz

新建文件file1.txt,file2.txt,file3.txt,对文件file1.txt和file2.txt,进行压缩(使用gzip方式),排除file3.txt(即不对file3进行压缩),并指定压缩名为tar_file.tar.gz


2. 创建3个文件test1.txt, test2.txt, test3.txt
使用find查找test1.txt,test2.txt, test3.txt

使用别名: 将上边命令命名为myfind
取消别名

3.查看最近使用的10条历史命令

4.在一行上执行两个命令,打印123和从root切换到普通用户

5.引号的使用举例: 无引号,单引号,双引号,反引号,$()
单引号:里面的任何内容都原样输出,包括$这种
双引号:里面的变量部分会编译为对应的参数值
反引号与$():存储可执行的命令结果


边栏推荐
- Warehouse address of Aspose
- MinGW-w64的安装及配置教程
- Pdman, a database modeling tool comparable to PowerDesigner [easy to understand]
- go中的协程原理详解
- Sublime text tips
- Explication détaillée du principe de co - intégration en go
- Docker installs redis and starts it as a configuration file
- JVM – 彻底理解打破双亲委派机制
- Distributed transaction solution
- The difference between function and method in rust
猜你喜欢

The loss of training and testing does not decline, and the accuracy is extremely low

Mutual certification of product compatibility between tapdata and Youxuan database

How does memory alignment in go optimize program efficiency?

leetcode:剑指 Offer II 115. 重建序列【图论思维 + 入度考虑 + 拓扑排序】

As a background developer, you must know two kinds of filters

Keras II classification problem

悲观锁和乐观锁

MySQL 66 questions, 20000 words + 50 pictures, including (answer analysis)

网分测花岗岩介电常数测试方案

Machine learning (9) - Feature Engineering (3) (supplementary)
随机推荐
Server environment setup
gom及gee架设黑屏的原因以及个别装备地图不显示怎么办?
CSDN custom T-shirts are waiting for you to get, and the benefits of new programmer are coming!
Phpstrom shortcut key
封玩家IP和机器码以及解开被封的教程
Detailed explanation of CO process principle in go
Seal player IP and machine code and unlock the blocked tutorial
El input usage
"Nowadays, more than 99.9% of the code is garbage!"
传奇架设 GEE引擎教程 配置微端
MySQL 66 questions, 20000 words + 50 pictures, including (answer analysis)
Detailed explanation of JPS
MYSQL基础及性能优化
How the lock issued by go works (combined with the source code)
Warehouse address of Aspose
RS232 DB9 serial port device
Reinforcement learning -- Markov decision process MP MRP MDP
本周一问 | Vivado 综合阶段什么约束生效?
MPU9250传感器
MySQL massive write problem optimization scheme MySQL parameter tuning