Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Tmux osnove
Search
Bruno Sutic
October 24, 2014
Technology
0
150
Tmux osnove
Bruno Sutic
October 24, 2014
Tweet
Share
More Decks by Bruno Sutic
See All by Bruno Sutic
Readline + irb/pry = <3
brunosutic
0
100
Moreutils
brunosutic
0
42
The venerable "expect"
brunosutic
0
52
Capistrano vs Mina: Capistrano demo talk
brunosutic
0
420
Configuring tmux
brunosutic
0
69
Introduction to Arel
brunosutic
1
190
Deploying Rails apps with Capistrano
brunosutic
0
68
Other Decks in Technology
See All in Technology
開発生産性向上! 育成を「改善」と捉えるエンジニア育成戦略
shoota
1
230
20241214_WACATE2024冬_テスト設計技法をチョット俯瞰してみよう
kzsuzuki
3
440
組織に自動テストを書く文化を根付かせる戦略(2024冬版) / Building Automated Test Culture 2024 Winter Edition
twada
PRO
8
3.1k
WACATE2024冬セッション資料(ユーザビリティ)
scarletplover
0
190
小学3年生夏休みの自由研究「夏休みに Copilot で遊んでみた」
taichinakamura
0
140
コンテナセキュリティのためのLandlock入門
nullpo_head
2
320
Turing × atmaCup #18 - 1st Place Solution
hakubishin3
0
460
.NET 9 のパフォーマンス改善
nenonaninu
0
280
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
180
DevOps視点でAWS re:invent2024の新サービス・アプデを振り返ってみた
oshanqq
0
180
サイバー攻撃を想定したセキュリティガイドライン 策定とASM及びCNAPPの活用方法
syoshie
3
1.2k
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
420
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
Embracing the Ebb and Flow
colly
84
4.5k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
For a Future-Friendly Web
brad_frost
175
9.4k
Code Reviewing Like a Champion
maltzj
520
39k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Facilitating Awesome Meetings
lara
50
6.1k
Writing Fast Ruby
sferik
628
61k
Site-Speed That Sticks
csswizardry
2
190
Producing Creativity
orderedlist
PRO
341
39k
Making Projects Easy
brettharned
116
5.9k
Transcript
Tmux osnove
Bruno Sutic Rails & Javascript developer Ideal Project Group,
Chicago github.com/bruno- @brunosutic Tmux plugini: github.com/tmux-plugins Command line junkie
Problem sa terminal aplikacijom? • managiranje (velikog) broja terminala •
primjer terminala za samo 1 projekt
Problem sa terminal aplikacijom? • primjer terminali za više projekata
Rješenje? Tmux - terminal multiplexer • Osnovni fičeri: • više
terminala unutar jednog • “splits” horizontalni i vertikalni • “sessions” grupe prozora/terminala • “vrti” se u pozadini sve dok je komp upaljen • Ostali napredni fičeri
Instalacija Tmux-a • Mac $ brew install tmux $
brew install reattach-to-user-namespace (fixes pbpaste) • Linux $ apt-get install -y tmux
Preporučena konfiguracija • ~/.tmux.conf - tmux config file • remapirat
defaultni “prefix” sa Ctrl-b na Ctrl-a • set -g prefix C-a # in .tmux.conf • remapirat Caps Lock na Ctrl (na OS levelu)
Demo: pokretanje tmux-a • samo utipkajte $ tmux
Demo: stvaranje novih “windowa” • prefix + c
Demo: navigacija po “windowima” • prošli prozor: prefix + p
• slijedeći prozor: prefix + n • određeni prozor: prefix + <broj>
Demo: splits • vertikalni split: prefix + % • horizontalni
split: prefix + “ *neobičan odabir tipki
Demo: navigacija po splitovima • prefix + <strelica>
Demo: kreiranje “sessiona” • prefix + :new -s session_name *prilično
nezgodno
Demo: navigacija po sessionima • switchanje sessiona: prefix + s
• navigacija sessiona: j, k (ili strelice)
Demo: “detachanje” iz tmux-a • detach: prefix + d •
attach: $ tmux attach
Tmux demo sažetak • manipulacija “windowima” • manipulacija splitovima •
manipulacija sessionima • čudni defaulti => konfiguracija Tmux-a
Sljedeći koraci? • tmux copy mode (scrolling) • konfiguracija tmux-a
(sljedeća prezentacija) • $ man tmux • knjiga • plugini? https://github.com/tmux-plugins
Pitanja?