一、 file
1.1 命令格式
file file | 查看 flie的类型 | 两个例子 | |
#!/bin/bash ##shell script | #include<stdio.h># ##C sourch |
1.2 参数演示
![](https://img-blog.csdnimg.cn/20200106225350267.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQxMDU2MjI0,size_16,color_FFFFFF,t_70)
二、 wc
2.1 参数格式
wc file | 依次显示行数 字数 字符数 文件夹名 |
wc -l file | 行数 |
wc -w file | 字数 |
wc -m file | 字符数 |
wc -c file | 字节数 |
2.2 命令演示
![](https://img-blog.csdnimg.cn/20200106224809141.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQxMDU2MjI0,size_16,color_FFFFFF,t_70)
一、 file
1.1 命令格式
file file | 查看 flie的类型 | 两个例子 | |
#!/bin/bash ##shell script | #include<stdio.h># ##C sourch |
1.2 参数演示
二、 wc
2.1 参数格式
wc file | 依次显示行数 字数 字符数 文件夹名 |
wc -l file | 行数 |
wc -w file | 字数 |
wc -m file | 字符数 |
wc -c file | 字节数 |
2.2 命令演示