Enviar pesquisa
Carregar
Shell奇技淫巧
•
Transferir como KEY, PDF
•
8 gostaram
•
794 visualizações
David Xie
Seguir
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 13
Baixar agora
Recomendados
Zsh
Zsh
Rhythm Sun
Log analytics
Log analytics
itseo
微博前端开发工具 by nodejs
nodejs在微博前端开发中的应用
nodejs在微博前端开发中的应用
dong yuwei
常用Mac/Linux命令分享
常用Mac/Linux命令分享
Yihua Huang
20141119 介紹常用的 Terminal 指令(Linux Like 的系統多數類似)
Mac os Terminal 常用指令與小技巧
Mac os Terminal 常用指令與小技巧
Chen Liwei
Redis use cases
Redis use cases
Bottom Wang
Introduction to FreeBSD commands
Introduction to FreeBSD commands
郁凱 黃
Windbg入门
Windbg入门
晓锋 陈
Recomendados
Zsh
Zsh
Rhythm Sun
Log analytics
Log analytics
itseo
微博前端开发工具 by nodejs
nodejs在微博前端开发中的应用
nodejs在微博前端开发中的应用
dong yuwei
常用Mac/Linux命令分享
常用Mac/Linux命令分享
Yihua Huang
20141119 介紹常用的 Terminal 指令(Linux Like 的系統多數類似)
Mac os Terminal 常用指令與小技巧
Mac os Terminal 常用指令與小技巧
Chen Liwei
Redis use cases
Redis use cases
Bottom Wang
Introduction to FreeBSD commands
Introduction to FreeBSD commands
郁凱 黃
Windbg入门
Windbg入门
晓锋 陈
Linux指令練習(四)。
主機管理基本指令練習(四)
主機管理基本指令練習(四)
K- Peggy
手机腾讯网Js资源版本增量更新方案w3ctech
手机腾讯网Js资源版本增量更新方案w3ctech
luyongfugx
2014/06/24 在新北市蘆洲國中的教師工作坊,介紹 bash script programming 基礎
新北市教師工作坊 -- Bash script programming 介紹
新北市教師工作坊 -- Bash script programming 介紹
fweng322
MongoDB for C# developer
MongoDB for C# developer
dianming.song
智能Dns工作流程及配置
智能Dns工作流程及配置
Yiwei Ma
如何学习Bash Shell
如何学习Bash Shell
LI Daobing
How to install and create an Oracle Database(11g)
2, OCP - installing and creating a database
2, OCP - installing and creating a database
ted-xu
Autorelease pool
Autorelease pool
Michael Pan
Mongodb
Mongodb
bj
2015/01/07 修正ctrl + ins複製錯誤,應該是shift + ins,感謝Jack Chen告知 2014/08/05 修正control + z描述錯誤,感謝En-Hao Hu的告知
Introduce to Linux command line
Introduce to Linux command line
Wen Liao
redis
高性能No sql数据库redis
高性能No sql数据库redis
paitoubing
Google developer tool 簡介
Google developer tool 簡介
Shu Ting Hsieh
Web scraping入門1
Web scraping入門1
兆欽 丘
Bigdata 大資料分析實務 (進階上機課程)
Bigdata 大資料分析實務 (進階上機課程)
Bigdata 大資料分析實務 (進階上機課程)
家雋 莊
《大话redis设计实现》
大话redis设计实现
大话redis设计实现
rfyiamcool
Linux基础知道 - DevOps的基础知识系列
Linux基础
Linux基础
zhuqling
0day 揭秘家用路由器
揭秘家用路由器Ch10 sharing
揭秘家用路由器Ch10 sharing
Yi-Jun Zheng
scrapy+sphinx搭建搜索引擎
scrapy+sphinx搭建搜索引擎
Ping Yin
Something about DNS protocol and my dns server BlackHole.
打造你自己的DNS服务器
打造你自己的DNS服务器
Yihua Huang
走上It之路
走上It之路
David Xie
Unit test
Unit test
David Xie
O volante Elicarlos, que deixou o campo durante a derrota para a Portuguesa, por conta de uma fisgada na coxa, é dúvida para a partida contra o Santos, domingo (05), nos Aflitos.Outros que não devem jogar contra o peixe é o atacante Rhayner, suspenso pelo terceiro amarelo, o goleiro Felipe e o meia Breitner, ambos emprestados pelo Santos e impossibilitados de atuar por conta de uma cláusula contratual, desfalcam o Alvirrubro.
Desfalques contra o Santos.
Desfalques contra o Santos.
Timbuonline
Mais conteúdo relacionado
Mais procurados
Linux指令練習(四)。
主機管理基本指令練習(四)
主機管理基本指令練習(四)
K- Peggy
手机腾讯网Js资源版本增量更新方案w3ctech
手机腾讯网Js资源版本增量更新方案w3ctech
luyongfugx
2014/06/24 在新北市蘆洲國中的教師工作坊,介紹 bash script programming 基礎
新北市教師工作坊 -- Bash script programming 介紹
新北市教師工作坊 -- Bash script programming 介紹
fweng322
MongoDB for C# developer
MongoDB for C# developer
dianming.song
智能Dns工作流程及配置
智能Dns工作流程及配置
Yiwei Ma
如何学习Bash Shell
如何学习Bash Shell
LI Daobing
How to install and create an Oracle Database(11g)
2, OCP - installing and creating a database
2, OCP - installing and creating a database
ted-xu
Autorelease pool
Autorelease pool
Michael Pan
Mongodb
Mongodb
bj
2015/01/07 修正ctrl + ins複製錯誤,應該是shift + ins,感謝Jack Chen告知 2014/08/05 修正control + z描述錯誤,感謝En-Hao Hu的告知
Introduce to Linux command line
Introduce to Linux command line
Wen Liao
redis
高性能No sql数据库redis
高性能No sql数据库redis
paitoubing
Google developer tool 簡介
Google developer tool 簡介
Shu Ting Hsieh
Web scraping入門1
Web scraping入門1
兆欽 丘
Bigdata 大資料分析實務 (進階上機課程)
Bigdata 大資料分析實務 (進階上機課程)
Bigdata 大資料分析實務 (進階上機課程)
家雋 莊
《大话redis设计实现》
大话redis设计实现
大话redis设计实现
rfyiamcool
Linux基础知道 - DevOps的基础知识系列
Linux基础
Linux基础
zhuqling
0day 揭秘家用路由器
揭秘家用路由器Ch10 sharing
揭秘家用路由器Ch10 sharing
Yi-Jun Zheng
scrapy+sphinx搭建搜索引擎
scrapy+sphinx搭建搜索引擎
Ping Yin
Something about DNS protocol and my dns server BlackHole.
打造你自己的DNS服务器
打造你自己的DNS服务器
Yihua Huang
Mais procurados
(19)
主機管理基本指令練習(四)
主機管理基本指令練習(四)
手机腾讯网Js资源版本增量更新方案w3ctech
手机腾讯网Js资源版本增量更新方案w3ctech
新北市教師工作坊 -- Bash script programming 介紹
新北市教師工作坊 -- Bash script programming 介紹
MongoDB for C# developer
MongoDB for C# developer
智能Dns工作流程及配置
智能Dns工作流程及配置
如何学习Bash Shell
如何学习Bash Shell
2, OCP - installing and creating a database
2, OCP - installing and creating a database
Autorelease pool
Autorelease pool
Mongodb
Mongodb
Introduce to Linux command line
Introduce to Linux command line
高性能No sql数据库redis
高性能No sql数据库redis
Google developer tool 簡介
Google developer tool 簡介
Web scraping入門1
Web scraping入門1
Bigdata 大資料分析實務 (進階上機課程)
Bigdata 大資料分析實務 (進階上機課程)
大话redis设计实现
大话redis设计实现
Linux基础
Linux基础
揭秘家用路由器Ch10 sharing
揭秘家用路由器Ch10 sharing
scrapy+sphinx搭建搜索引擎
scrapy+sphinx搭建搜索引擎
打造你自己的DNS服务器
打造你自己的DNS服务器
Destaque
走上It之路
走上It之路
David Xie
Unit test
Unit test
David Xie
O volante Elicarlos, que deixou o campo durante a derrota para a Portuguesa, por conta de uma fisgada na coxa, é dúvida para a partida contra o Santos, domingo (05), nos Aflitos.Outros que não devem jogar contra o peixe é o atacante Rhayner, suspenso pelo terceiro amarelo, o goleiro Felipe e o meia Breitner, ambos emprestados pelo Santos e impossibilitados de atuar por conta de uma cláusula contratual, desfalcam o Alvirrubro.
Desfalques contra o Santos.
Desfalques contra o Santos.
Timbuonline
publication of booklets with tangolyrics,-scores and tangopaintings
Publications
Publications
pimstallmann
Ahmed+Abd+Elfatah+
Ahmed+Abd+Elfatah+
ahmed Abd Elfatah morsi
Guide project in uk
Guide project in uk
michaelxu
Destaque
(6)
走上It之路
走上It之路
Unit test
Unit test
Desfalques contra o Santos.
Desfalques contra o Santos.
Publications
Publications
Ahmed+Abd+Elfatah+
Ahmed+Abd+Elfatah+
Guide project in uk
Guide project in uk
Mais de David Xie
GIT关于版本管理的一些操作, 没有基础的东西, 简单讲了一些命令, 大部分是概念的陈述
Git version control
Git version control
David Xie
云计算
云计算
David Xie
Hadoop
Hadoop
David Xie
西安Python技术沙龙将改为ScriptFan沙龙
沙龙升级
沙龙升级
David Xie
GIT使用简介
Git使用
Git使用
David Xie
Python Unit Test
Python Unit Test
David Xie
Mais de David Xie
(6)
Git version control
Git version control
云计算
云计算
Hadoop
Hadoop
沙龙升级
沙龙升级
Git使用
Git使用
Python Unit Test
Python Unit Test
Shell奇技淫巧
1.
Shell奇技
巧 David Xie david.xie@me.com
2.
导读 奇技的前奏 检查文件内容 文件行数/字数检查 文件内容替换
3.
奇技的前奏
4.
管道 | ps -ewf |
grep mac
5.
重定向 > >> < ls > file.lst echo
“xxx.xxx.xxx.xxx” >> /etc/hosts mysql -U root -p < test.sql
6.
awk awk -F “
” ‘{print $1,$2}’
7.
sed -i 原地替换 ‘s/original/new/g’ sed -i
“” ‘s/class/CLASS/g’ <FILE>
8.
xargs 对前面结果的每一行做处理 ps -ewf |
grep daimaduan.com | awk ‘{print $2}’ | xargs kill -9
9.
好戏
始 !
10.
检查文件内容 find src/ -name
‘*.py’ -type f -name, -type, -user, -group, -size
11.
检查文件内容 find src/ -name
‘*.py’ -type f | xargs grep -n -i ‘copyright’
12.
文件行数/字数检查 wc -w <FILE> wc
-l <FILE> find src/ -name ‘*.py’ | xargs wc -l
13.
文件内容替换 find protected/ -name
'*.php' | awk - F ":" '{print $1}' | xargs sed -i "" 's/class/CLASS/g'
Notas do Editor
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Baixar agora