标签:一级目录 cto path eve 排除 变化 oldboy pat echo
1.1.1 PATH路径[root@oldboyedu50 oldboy]# echo 1 2 3 4 5
1 2 3 4 5
[root@oldboyedu50 oldboy]# echo {1...5}
{1...5}.
[root@oldboyedu50 oldboy]# echo {1..5}
1 2 3 4 5
[root@oldboyedu50 oldboy]# echo {1..10}
1 2 3 4 5 6 7 8 9 10
[root@oldboyedu50 oldboy]# echo {01..10}
01 02 03 04 05 06 07 08 09 10
[root@oldboyedu50 oldboy]# echo stu{01..10}
stu01 stu02 stu03 stu04 stu05 stu06 stu07 stu08 stu09 stu10
[root@oldboyedu50 oldboy]# echo stu{01..10} |xargs -n1
stu01
stu02
stu03
stu04
stu05
stu06
stu07
stu08
stu09
stu10
[root@oldboyedu50 oldboy]# echo stu{01..10} |xargs -n1 >nginx.conf
[root@oldboyedu50 oldboy]# cat -n nginx.conf
1 stu01
2 stu02
3 stu03
4 stu04
5 stu05
6 stu06
7 stu07
8 stu08
9 stu09
10 stu10
[root@oldboyedu50 oldboy]# vim -n nginx.conf
1 stu01
2 stu02
3 stu03
4 stu04
5 etu05
6 stu06
7 stu07
8 stu08
9 stu09
10 stu10
标签:一级目录 cto path eve 排除 变化 oldboy pat echo
原文地址:http://blog.51cto.com/13860358/2150150