基础命令¶
| 命令 | 描述 | 例子 |
|---|---|---|
| cat | ||
| ls | ||
| tree | ||
| cp | ||
| mv | ||
| rm | ||
| touch | ||
| md5sum | ||
| echo | ||
| cd | ||
| mkdir | ||
| rmdir | ||
| less | ||
| more | ||
| pwd | ||
| diff | ||
| file | ||
| locate | ||
| head&tail | ||
| sort | ||
| xargs | comand | xargs comand -d 分隔符-n 指定参数格式-I 使用{}替换 |
ls ./ | xargs -n1 -I {} mv {} {}.bk ls ./ | xargs -0 rm -f cat list.txt | xargs wget -c |