当前位置:网站首页>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.引号的使用举例: 无引号,单引号,双引号,反引号,$()
单引号:里面的任何内容都原样输出,包括$这种
双引号:里面的变量部分会编译为对应的参数值
反引号与$():存储可执行的命令结果


边栏推荐
- QT multithread instance and the fifth parameter of connect [easy to understand]
- 配置Gom引擎登錄器出現錯誤提示:沒有發現必備補丁文件!
- go中的協程原理詳解
- PDO operation
- CSDN custom T-shirts are waiting for you to get, and the benefits of new programmer are coming!
- “如今,99.9% 以上的代码都是垃圾!”
- idea debug常用操作
- An online frequent fullgc troubleshooting
- jps详解
- 【通俗易懂】关系模式范式分解教程 3NF与BCNF口诀!小白也能看懂「建议收藏」
猜你喜欢

配置Gom引擎登錄器出現錯誤提示:沒有發現必備補丁文件!

Go medium high parallel communication mode: the underlying principle of channel pipeline

变分法 (Calculus of Variations)

MySQL 7 kinds of join (Figure)

On Monday, I asked | what constraints will take effect in the comprehensive stage of vivado?

Seata

MySQL massive write problem optimization scheme MySQL parameter tuning

idea debug常用操作

Reinforcement learning -- Markov decision process MP MRP MDP

【216】go语言标准库包名
随机推荐
CSDN custom T-shirts are waiting for you to get, and the benefits of new programmer are coming!
docker安装redis并以配置文件方式启动
C language -- implementation of address book and screentogif
为什么香港服务器可以免备案
Mutual certification of product compatibility between tapdata and Youxuan database
Trust sums two numbers
Open source needs specialization
Calculus of variations
Data concentration analysis and data distribution
Don't you know more than 30 baby plug-ins like idea that are both easy to use and fun? "Suggested collection"
常用的curl命令及参数详解
Sentinel 介绍与微服务整合
Eric6 installation problem
数字安全巨头Entrust披露六月遭到勒索软件团伙攻击
Data crawling and display of e-commerce platform based on scratch
CSDN定制T恤等你来拿,《新程序员》福利来袭!
Dyn keyword in rust
RS232 DB9串口设备
curl命令详解[通俗易懂]
MySQL master-slave synchronization delay solution