zshと仮想端末マネージャで快適ターミナル生活

Nobutoshi Ogata
Nobutoshi OgataManager, Site Reliability Engineering at SmartNews, Inc.
zsh




11   9   12
11   9   12
About me
                       (               )

              @nobu666
              http://www.facebook.com/nobutoshi.ogata



               2011/8/1

              ogata.nobu@gmail.com



11   9   12
/

                            NEC
                        2
              Web

11   9   12
MySQL Proxy




11   9   12
11   9   12
zsh       !!

                             !!


                    2




11   9   12
zsh screen




11   9   12
zsh screen



11   9   12
Development Environment
                    Conference
              2006/9/9
               5    ……      …

                            3

              http://b.hatena.ne.jp/t/decon
              zsh
              screen


11   9   12
DECon
              _______________________ 
                          ○√                     !! 
                       
                                         PuTTY
                                                   !!




11   9   12
DECon
              ________________________________
                      ~|
                       \○                        BOY
                         ∥\
                 <○>     ∥/  
                  ∥    /│
                  >>    \│
                screen




11   9   12
screen


              screen
              tscreen
              tmux
              byobu




11   9   12
11   9   12
tmux!!
              screen


              !!




11   9   12
screen/tmux



11   9   12
11   9   12
zsh



11   9   12
11   9   12
nobu666@cherub $ for n in 1 2 3
              for# do
              for# echo test;
              for# done
              test
              test
              test
              nobu666@cherub $(        C-p)
              nobu666@cherub $for n in 1 2 3
              do
              echo test;
              done




11   9   12
nobu666@cherub $ zmodload -i zsh/mathfunc
              nobu666@cherub $ echo $(( sin(1) ))
              0.8414709848078965
              nobu666@cherub $ echo $(( log10(2) ))
              0.3010299956639812
              nobu666@cherub $ echo $(( sqrt(2) ))
              1.4142135623730951
              nobu666@cherub $ repeat 3 echo $(( rand48() ))
              0.9822596229634506
              0.37442021252918423
              0.13525322333015666


11   9   12
configure
                                    --help


              C-a C-k   configure --help      C-y……?

              ESC-q      !!




11   9   12
glob
              important.c           *.c

               rm *.c~important.c

              *.txt

               rm *~*.txt

              find . -name ‘*.c’|xargs grep hoge
               grep hoge **/*.c



11   9   12
hogehoge | piyopiyo
               tail -f /var/log/php.log G Fatal
               ls -la L




               head,tail,grep,sort,uniq,lv,wc,sed,awk...



11   9   12
echo “test” > f1 >f2
              echo “TEST” >file?
              < f1 <f2
              < f1 > f3




11   9   12
bash                   …

               (´ ω    )

              paste <(hoge) <(moge)
              diff -u <(hoge|piyo) <(hoge|moge)
                      tmp



11   9   12
11   9   12
zsh

               oh-my-zsh
               https://github.com/robbyrussell/oh-my-zsh
               git             theme



               https://github.com/robbyrussell/oh-my-zsh/wiki/
               themes


11   9   12
(2)
              screen

               screen wrapper
                 byobu
               tmux




11   9   12
DEMO


11   9   12
zsh




11   9   12
11   9   12
11   9   12
1 of 33

Recommended

Vim Hacks (OSSF) by
Vim Hacks (OSSF)Vim Hacks (OSSF)
Vim Hacks (OSSF)Lin Yo-An
2.2K views45 slides
Confd - Uszanowanko Programowanko by
Confd - Uszanowanko ProgramowankoConfd - Uszanowanko Programowanko
Confd - Uszanowanko ProgramowankoThe Software House
791 views14 slides
CoffeeScript: JavaScript, but Better! by
CoffeeScript: JavaScript, but Better! CoffeeScript: JavaScript, but Better!
CoffeeScript: JavaScript, but Better! Jack Franklin
1K views34 slides
Coffeescript - Getting Started by
Coffeescript - Getting StartedCoffeescript - Getting Started
Coffeescript - Getting StartedJeongHun Byeon
1.2K views26 slides
Introduction to Nim by
Introduction to NimIntroduction to Nim
Introduction to NimFred Heath
1.2K views33 slides
톰캣 #05+a-배치-parallel deployment by
톰캣 #05+a-배치-parallel deployment톰캣 #05+a-배치-parallel deployment
톰캣 #05+a-배치-parallel deploymentGyuSeok Lee
1.2K views19 slides

More Related Content

Viewers also liked

DevLOVE ターミナル勉強会 zsh + screen by
DevLOVE ターミナル勉強会 zsh + screenDevLOVE ターミナル勉強会 zsh + screen
DevLOVE ターミナル勉強会 zsh + screenYozo SATO
3.2K views49 slides
zshという選択肢 by
zshという選択肢zshという選択肢
zshという選択肢manaten
2.4K views18 slides
Antigenを使おう by
Antigenを使おうAntigenを使おう
Antigenを使おうHideaki Miyake
2.4K views46 slides
シェルにあんまりこだわりのなかった僕がfishを使ってかんじたこと by
シェルにあんまりこだわりのなかった僕がfishを使ってかんじたことシェルにあんまりこだわりのなかった僕がfishを使ってかんじたこと
シェルにあんまりこだわりのなかった僕がfishを使ってかんじたことtoku toku
6.3K views19 slides
Zshでデキるプロンプト by
ZshでデキるプロンプトZshでデキるプロンプト
ZshでデキるプロンプトMaruyama Tetsutaro
22.1K views25 slides
peco活用術 by
peco活用術peco活用術
peco活用術Yuki Ishikawa
2.9K views8 slides

Viewers also liked(6)

DevLOVE ターミナル勉強会 zsh + screen by Yozo SATO
DevLOVE ターミナル勉強会 zsh + screenDevLOVE ターミナル勉強会 zsh + screen
DevLOVE ターミナル勉強会 zsh + screen
Yozo SATO3.2K views
zshという選択肢 by manaten
zshという選択肢zshという選択肢
zshという選択肢
manaten2.4K views
シェルにあんまりこだわりのなかった僕がfishを使ってかんじたこと by toku toku
シェルにあんまりこだわりのなかった僕がfishを使ってかんじたことシェルにあんまりこだわりのなかった僕がfishを使ってかんじたこと
シェルにあんまりこだわりのなかった僕がfishを使ってかんじたこと
toku toku6.3K views

Similar to zshと仮想端末マネージャで快適ターミナル生活

Naughty And Nice Bash Features by
Naughty And Nice Bash FeaturesNaughty And Nice Bash Features
Naughty And Nice Bash FeaturesNati Cohen
1.1K views45 slides
我在豆瓣使用Emacs by
我在豆瓣使用Emacs我在豆瓣使用Emacs
我在豆瓣使用Emacs董 伟明
1.2K views34 slides
Biicode OpenExpoDay by
Biicode OpenExpoDayBiicode OpenExpoDay
Biicode OpenExpoDayfcofdezc
625 views62 slides
Elixir - GDG - Nantes by
Elixir - GDG - NantesElixir - GDG - Nantes
Elixir - GDG - NantesAxel CATELAND
263 views72 slides
Paexec -- distributed tasks over network or cpus by
Paexec -- distributed tasks over network or cpusPaexec -- distributed tasks over network or cpus
Paexec -- distributed tasks over network or cpusТранслируем.бел
660 views19 slides
Kernel Recipes 2016 - Why you need a test strategy for your kernel development by
Kernel Recipes 2016 - Why you need a test strategy for your kernel developmentKernel Recipes 2016 - Why you need a test strategy for your kernel development
Kernel Recipes 2016 - Why you need a test strategy for your kernel developmentAnne Nicolas
588 views60 slides

Similar to zshと仮想端末マネージャで快適ターミナル生活(20)

Naughty And Nice Bash Features by Nati Cohen
Naughty And Nice Bash FeaturesNaughty And Nice Bash Features
Naughty And Nice Bash Features
Nati Cohen1.1K views
我在豆瓣使用Emacs by 董 伟明
我在豆瓣使用Emacs我在豆瓣使用Emacs
我在豆瓣使用Emacs
董 伟明1.2K views
Biicode OpenExpoDay by fcofdezc
Biicode OpenExpoDayBiicode OpenExpoDay
Biicode OpenExpoDay
fcofdezc625 views
Kernel Recipes 2016 - Why you need a test strategy for your kernel development by Anne Nicolas
Kernel Recipes 2016 - Why you need a test strategy for your kernel developmentKernel Recipes 2016 - Why you need a test strategy for your kernel development
Kernel Recipes 2016 - Why you need a test strategy for your kernel development
Anne Nicolas588 views
Im trying to run make qemu-nox In a putty terminal but it.pdf by maheshkumar12354
Im trying to run  make qemu-nox  In a putty terminal but it.pdfIm trying to run  make qemu-nox  In a putty terminal but it.pdf
Im trying to run make qemu-nox In a putty terminal but it.pdf
Improving the ZFS Userland-Kernel API with Channel Programs - BSDCAN 2017 - M... by Matthew Ahrens
Improving the ZFS Userland-Kernel API with Channel Programs - BSDCAN 2017 - M...Improving the ZFS Userland-Kernel API with Channel Programs - BSDCAN 2017 - M...
Improving the ZFS Userland-Kernel API with Channel Programs - BSDCAN 2017 - M...
Matthew Ahrens306 views
Yapc::NA::2009 - Command Line Perl by Bruce Gray
Yapc::NA::2009 - Command Line PerlYapc::NA::2009 - Command Line Perl
Yapc::NA::2009 - Command Line Perl
Bruce Gray2.6K views
Being functional in PHP (PHPDay Italy 2016) by David de Boer
Being functional in PHP (PHPDay Italy 2016)Being functional in PHP (PHPDay Italy 2016)
Being functional in PHP (PHPDay Italy 2016)
David de Boer1.4K views
UX: South Park Carousel by Darren Lou
UX: South Park CarouselUX: South Park Carousel
UX: South Park Carousel
Darren Lou168 views
Understanding SLAB in Linux Kernel by Haifeng Li
Understanding SLAB in Linux KernelUnderstanding SLAB in Linux Kernel
Understanding SLAB in Linux Kernel
Haifeng Li1.2K views
ASFWS 2012 - Obfuscator, ou comment durcir un code source ou un binaire contr... by Cyber Security Alliance
ASFWS 2012 - Obfuscator, ou comment durcir un code source ou un binaire contr...ASFWS 2012 - Obfuscator, ou comment durcir un code source ou un binaire contr...
ASFWS 2012 - Obfuscator, ou comment durcir un code source ou un binaire contr...
LISA Qooxdoo Tutorial Handouts by Tobias Oetiker
LISA Qooxdoo Tutorial HandoutsLISA Qooxdoo Tutorial Handouts
LISA Qooxdoo Tutorial Handouts
Tobias Oetiker4.6K views
ゼロから始めるScalaプロジェクト by Ryuichi ITO
ゼロから始めるScalaプロジェクトゼロから始めるScalaプロジェクト
ゼロから始めるScalaプロジェクト
Ryuichi ITO1.1K views
Tokyo APAC Groundbreakers tour - The Complete Java Developer by Connor McDonald
Tokyo APAC Groundbreakers tour - The Complete Java DeveloperTokyo APAC Groundbreakers tour - The Complete Java Developer
Tokyo APAC Groundbreakers tour - The Complete Java Developer
Connor McDonald109 views

More from Nobutoshi Ogata

Introducing in-house PaaS in SmartNews by
Introducing in-house PaaS in SmartNewsIntroducing in-house PaaS in SmartNews
Introducing in-house PaaS in SmartNewsNobutoshi Ogata
5.7K views27 slides
Monitoring of SmartNews by
Monitoring of SmartNewsMonitoring of SmartNews
Monitoring of SmartNewsNobutoshi Ogata
3.8K views18 slides
The story became happy with itamae by
The story became happy with itamaeThe story became happy with itamae
The story became happy with itamaeNobutoshi Ogata
3.4K views17 slides
sensuとその周辺のはなし by
sensuとその周辺のはなしsensuとその周辺のはなし
sensuとその周辺のはなしNobutoshi Ogata
1.9K views13 slides
Solr勉強会第10回 by
Solr勉強会第10回Solr勉強会第10回
Solr勉強会第10回Nobutoshi Ogata
5.4K views28 slides
SSH Tips & Tricks by
SSH Tips & TricksSSH Tips & Tricks
SSH Tips & TricksNobutoshi Ogata
6.4K views44 slides

More from Nobutoshi Ogata(6)

Recently uploaded

Perth MeetUp November 2023 by
Perth MeetUp November 2023 Perth MeetUp November 2023
Perth MeetUp November 2023 Michael Price
15 views44 slides
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV by
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTVSplunk
88 views20 slides
Roadmap to Become Experts.pptx by
Roadmap to Become Experts.pptxRoadmap to Become Experts.pptx
Roadmap to Become Experts.pptxdscwidyatamanew
11 views45 slides
20231123_Camunda Meetup Vienna.pdf by
20231123_Camunda Meetup Vienna.pdf20231123_Camunda Meetup Vienna.pdf
20231123_Camunda Meetup Vienna.pdfPhactum Softwareentwicklung GmbH
28 views73 slides
Tunable Laser (1).pptx by
Tunable Laser (1).pptxTunable Laser (1).pptx
Tunable Laser (1).pptxHajira Mahmood
23 views37 slides
RADIUS-Omnichannel Interaction System by
RADIUS-Omnichannel Interaction SystemRADIUS-Omnichannel Interaction System
RADIUS-Omnichannel Interaction SystemRADIUS
15 views21 slides

Recently uploaded(20)

Perth MeetUp November 2023 by Michael Price
Perth MeetUp November 2023 Perth MeetUp November 2023
Perth MeetUp November 2023
Michael Price15 views
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV by Splunk
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
Splunk88 views
RADIUS-Omnichannel Interaction System by RADIUS
RADIUS-Omnichannel Interaction SystemRADIUS-Omnichannel Interaction System
RADIUS-Omnichannel Interaction System
RADIUS15 views
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica... by NUS-ISS
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
NUS-ISS16 views
PharoJS - Zürich Smalltalk Group Meetup November 2023 by Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi120 views
STPI OctaNE CoE Brochure.pdf by madhurjyapb
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdf
madhurjyapb12 views
AI: mind, matter, meaning, metaphors, being, becoming, life values by Twain Liu 刘秋艳
AI: mind, matter, meaning, metaphors, being, becoming, life valuesAI: mind, matter, meaning, metaphors, being, becoming, life values
AI: mind, matter, meaning, metaphors, being, becoming, life values
.conf Go 2023 - Data analysis as a routine by Splunk
.conf Go 2023 - Data analysis as a routine.conf Go 2023 - Data analysis as a routine
.conf Go 2023 - Data analysis as a routine
Splunk93 views
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen... by NUS-ISS
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
NUS-ISS28 views
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors by sugiuralab
TouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective SensorsTouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective Sensors
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors
sugiuralab15 views
Future of Learning - Khoong Chan Meng by NUS-ISS
Future of Learning - Khoong Chan MengFuture of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan Meng
NUS-ISS33 views
AMAZON PRODUCT RESEARCH.pdf by JerikkLaureta
AMAZON PRODUCT RESEARCH.pdfAMAZON PRODUCT RESEARCH.pdf
AMAZON PRODUCT RESEARCH.pdf
JerikkLaureta15 views
Five Things You SHOULD Know About Postman by Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman27 views
Attacking IoT Devices from a Web Perspective - Linux Day by Simone Onofri
Attacking IoT Devices from a Web Perspective - Linux Day Attacking IoT Devices from a Web Perspective - Linux Day
Attacking IoT Devices from a Web Perspective - Linux Day
Simone Onofri15 views
[2023] Putting the R! in R&D.pdf by Eleanor McHugh
[2023] Putting the R! in R&D.pdf[2023] Putting the R! in R&D.pdf
[2023] Putting the R! in R&D.pdf
Eleanor McHugh38 views

zshと仮想端末マネージャで快適ターミナル生活

  • 1. zsh 11 9 12
  • 2. 11 9 12
  • 3. About me ( ) @nobu666 http://www.facebook.com/nobutoshi.ogata 2011/8/1 ogata.nobu@gmail.com 11 9 12
  • 4. / NEC 2 Web 11 9 12
  • 6. 11 9 12
  • 7. zsh !! !! 2 11 9 12
  • 10. Development Environment Conference 2006/9/9 5 …… … 3 http://b.hatena.ne.jp/t/decon zsh screen 11 9 12
  • 11. DECon   _______________________    ○√ !!      PuTTY !! 11 9 12
  • 12. DECon ________________________________         ~|          \○     BOY            ∥\    <○>     ∥/       ∥    /│     >>    \│   screen 11 9 12
  • 13. screen screen tscreen tmux byobu 11 9 12
  • 14. 11 9 12
  • 15. tmux!! screen !! 11 9 12
  • 17. 11 9 12
  • 18. zsh 11 9 12
  • 19. 11 9 12
  • 20. nobu666@cherub $ for n in 1 2 3 for# do for# echo test; for# done test test test nobu666@cherub $( C-p) nobu666@cherub $for n in 1 2 3 do echo test; done 11 9 12
  • 21. nobu666@cherub $ zmodload -i zsh/mathfunc nobu666@cherub $ echo $(( sin(1) )) 0.8414709848078965 nobu666@cherub $ echo $(( log10(2) )) 0.3010299956639812 nobu666@cherub $ echo $(( sqrt(2) )) 1.4142135623730951 nobu666@cherub $ repeat 3 echo $(( rand48() )) 0.9822596229634506 0.37442021252918423 0.13525322333015666 11 9 12
  • 22. configure --help C-a C-k configure --help C-y……? ESC-q !! 11 9 12
  • 23. glob important.c *.c rm *.c~important.c *.txt rm *~*.txt find . -name ‘*.c’|xargs grep hoge grep hoge **/*.c 11 9 12
  • 24. hogehoge | piyopiyo tail -f /var/log/php.log G Fatal ls -la L head,tail,grep,sort,uniq,lv,wc,sed,awk... 11 9 12
  • 25. echo “test” > f1 >f2 echo “TEST” >file? < f1 <f2 < f1 > f3 11 9 12
  • 26. bash … (´ ω ) paste <(hoge) <(moge) diff -u <(hoge|piyo) <(hoge|moge) tmp 11 9 12
  • 27. 11 9 12
  • 28. zsh oh-my-zsh https://github.com/robbyrussell/oh-my-zsh git theme https://github.com/robbyrussell/oh-my-zsh/wiki/ themes 11 9 12
  • 29. (2) screen screen wrapper byobu tmux 11 9 12
  • 30. DEMO 11 9 12
  • 31. zsh 11 9 12
  • 32. 11 9 12
  • 33. 11 9 12