当前位置:网站首页>Rhcsa notes 5
Rhcsa notes 5
2022-07-23 18:14:00 【zyfpkp】
1. Use tar Command to package, compress and decompress files
Use gzip Compress the file in , And specify the compression name as tar_gzip.tar.gz


Use bzip2 Compress the folder in , And specify the compression name as tar_bzip2.tar.bz2


Use xz Compress the file in , And specify the compression name as tar_xz.tar.xz

New file file1.txt,file2.txt,file3.txt, The file file1.txt and file2.txt, Compress ( Use gzip The way ), exclude file3.txt( That's not right file3 Compress ), And specify the compression name as tar_file.tar.gz


2. establish 3 File test1.txt, test2.txt, test3.txt
Use find lookup test1.txt,test2.txt, test3.txt

Use the alias : Name the above command myfind
Remove alias

3. View recently used 10 Historical orders

4. Execute two commands on one line , Print 123 And from the root Switch to normal user

5. Examples of the use of quotation marks : No quotes , Single quotation marks , Double quotes , The quotation marks ,$()
Single quotation marks : Anything in it is output as it is , Include $ such
Double quotes : The variable part inside will be compiled into the corresponding parameter value
Back quotation marks and $(): Store executable command results


边栏推荐
- 前置放大器和功率放大器有什么区别?
- MySQL master-slave synchronization delay solution
- Go medium high parallel communication mode: the underlying principle of channel pipeline
- go中的協程原理詳解
- rhcsa笔记七
- Machine learning (9) - Feature Engineering (3) (supplementary)
- 参与开源社区还有证书拿?
- docker安装redis并以配置文件方式启动
- LDAP unified authentication service solution [easy to understand]
- Distributed transaction solution
猜你喜欢

How does memory alignment in go optimize program efficiency?

El input usage

Do you still have certificates to participate in the open source community?

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

Simply understand why the first EVM equivalent zkevm polygon is fully betting

Three barriers in the workplace: annual salary of 300000, 500000 and 1million

C language -- implementation of address book and screentogif

Seal player IP and machine code and unlock the blocked tutorial

Reinforcement learning -- Markov decision process MP MRP MDP

本周一问 | Vivado 综合阶段什么约束生效?
随机推荐
Use of computed in projects
rhcsa笔记五
Microservice avalanche problems and Solutions
[jzoof] 13 plage de mouvement du robot
开源需要专业化
数字安全巨头Entrust披露六月遭到勒索软件团伙攻击
JS 将伪数组转换成数组
What is the use of tampermonkey?
Distributed transaction solution
Sentinel 介绍与微服务整合
curl get&post
【215】gin框架連接mysql數據庫
本周一问 | Vivado 综合阶段什么约束生效?
悲观锁和乐观锁
LDAP统一认证服务解决方案[通俗易懂]
El input usage
rhcsa笔记六
[215] gin framework connects to MySQL database
封玩家IP和机器码以及解开被封的教程
vb连接Access数据库自定义