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
Command line Tips you (might) don't know
Search
Oursky Limited
March 24, 2014
Programming
1
200
Command line Tips you (might) don't know
Oursky Limited
March 24, 2014
Tweet
Share
More Decks by Oursky Limited
See All by Oursky Limited
UI Automation
oursky
1
490
SSH Can
oursky
1
310
HTTP/2
oursky
0
340
watchOS2
oursky
0
320
Common QA issues
oursky
0
200
Complex is better than complicated
oursky
0
280
Clean code again
oursky
3
360
KiriKiri x O2 x NVLMarker
oursky
0
230
Flux + React
oursky
1
380
Other Decks in Programming
See All in Programming
Go Conference 2025: Goで体感するMultipath TCP ― Go 1.24 時代の MPTCP Listener を理解する
takehaya
9
1.7k
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
200
開発生産性を上げるための生成AI活用術
starfish719
3
1.1k
Claude CodeによるAI駆動開発の実践 〜そこから見えてきたこれからのプログラミング〜
iriikeita
0
280
株式会社 Sun terras カンパニーデック
sunterras
0
330
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
340
なぜあの開発者はDevRelに伴走し続けるのか / Why Does That Developer Keep Running Alongside DevRel?
nrslib
3
410
Pull-Requestの内容を1クリックで動作確認可能にするワークフロー
natmark
2
520
overlayPreferenceValue で実現する ピュア SwiftUI な AdMob ネイティブ広告
uhucream
0
180
PHPに関数型の魂を宿す〜PHP 8.5 で実現する堅牢なコードとは〜 #phpcon_hiroshima / phpcon-hiroshima-2025
shogogg
1
240
Foundation Modelsを実装日本語学習アプリを作ってみた!
hypebeans
0
110
大規模アプリのDIフレームワーク刷新戦略 ~過去最大規模の並行開発を止めずにアプリ全体に導入するまで~
mot_techtalk
1
450
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Site-Speed That Sticks
csswizardry
13
910
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
Visualization
eitanlees
149
16k
Music & Morning Musume
bryan
46
6.8k
4 Signs Your Business is Dying
shpigford
185
22k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
910
Transcript
5 Command Line Tips you (might) don’t know Ben Cheng,
Oursky Internal Presentation
1. bashstrap https://github.com/barryclark/bashstrap
2. set editing-mode vi ~/.inputrc
Demo http://www.catonmat.net/download/bash-vi-editing- mode-cheat-sheet.pdf
3. byobu
4. pushd / popd
5. ctrl-r
5.5 long command #hash
6. ssh config
Host w User chpapa Hostname hostname.com ServerAliveInterval 30 ServerAliveCountMax 2
ControlPath ~/.ssh/master-%r@%h:%p ControlMaster auto ControlPersist 4h GSSAPIAuthentication no
7. F*ck GFW ssh -c arcfour -D 8080 server.com
8. mkdir -p /what/the/ hell
9. open .
10. pbcopy / pbpaste
11. sudo !!