随笔分类 - Bash Shell
Shell命令&Bash Shell脚本
摘要:目录OS 换源脚本Centos7基础环境Git 安装脚本中间件脚本MySQL 安装脚本Nginx 安装脚本 OS 换源脚本 Centos7 #!/bin/bash cd /etc/yum.repos.d/ mkdir repo_bak mv *.repo repo_bak/ curl -o /etc
阅读全文
摘要:tar GNU `tar' saves many files together into a single tape or disk archive, and can restore individual files from the archive. tar:用于压缩和解压缩文件; 格式:tar
阅读全文
摘要:nc (ncat) Ncat is a feature-packed networking utility which reads and writes data across networks from the command line; nc(ncat):Ncat是一个功能丰富的网络实用工具;支
阅读全文
摘要:wc wc - print newline, word, and byte counts for each file wc: 统计文件的字节数、字数、行数。 格式: wc [OPTION]... [FILE]... 常用参数: | OPTION | 意义 | | | | | -w | 统计字数,或-
阅读全文
摘要:### awk gawk - pattern scanning and processing language; `awk`:gawk是Unix中原始awk程序的GNU版本,强大之处在于可以写脚本来读取文本行的数据,然后处理并显示数据; `格式`:gawk [参数] 常用参数: | OPTIONS
阅读全文
摘要:grep grep searches the named input FILEs (or standard input if no files are named, or if a single hyphen-minus (-) is given as file name) for lines co
阅读全文
摘要:### sed sed - stream editor for filtering and transforming text; `sed`:利用脚本来处理、编辑文本文件; `格式`:sed [OPTION]... {script-only-if-no-other-script} [input-fi
阅读全文
摘要:[TOC] # curl ## 查看网页源码 直接在curl命令后加上网址,就可以看到网页源码。 ```shell $ curl www.baidu.com ``` 
浙公网安备 33010602011771号