

通配符-大宝天天见-51CTO博客
source link: http://blog.51cto.com/13587169/2068668
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Recommend
-
92
1.调用外部变量user="tomrootstudent"foriin$userawk-F:-vx=$i'$1=x{print$2}'/etc/passwd####指令内无需$引用2.awk结果赋值x=yumrepolist|awk'/repolist:/{if($2==0){print1}else{print0}}'###取命令结果:``或者$
-
82
部署LNMP 1.安装NginxNginx代码编译需要的软件包yum -y install gcc pcre-devle openssl-devle zlib-devel make其他省略2.安装MariaDByum -y install mariadb-server mariadb m...
-
94
sed基本用法(图片)
-
78
原创 DNS服务基础
-
74
输入字符串,任何数据都是字符串int(raw_input("字符串"))字符串转数字脚本:#!/usr/bin/python#coding:utf-8user=raw_input("请输入用户名:")print"Welc
-
52
#!/bin/bashy="abc-5d81.25"foriin$ydoexpr$i+1&>/dev/nullif[$?-eq0];thenecho-n"$i"fidone
-
81

-
67

About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK