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
$PATH
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kim Schlesinger
November 20, 2018
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
$PATH
A lightning talk breaking down the $PATH variable.
Kim Schlesinger
November 20, 2018
More Decks by Kim Schlesinger
See All by Kim Schlesinger
Sidecar Pattern
kimschles
0
140
Beyond Block Diagrams: Different Ways of Understanding K8s Architecture
kimschles
1
230
nginx and node.js
kimschles
0
180
$PATH, /bin and $PS1
kimschles
0
450
Fuzzy Lines: Aligning Teams to Monitor Your Application Ecosystem
kimschles
0
420
Refactoring for Accessibility
kimschles
0
720
Zero to SRE
kimschles
0
220
A Beginner's Guide to Kubernetes
kimschles
0
160
kick-ass-teacher.pdf
kimschles
0
330
Other Decks in Technology
See All in Technology
しぶいSRE: サーバから見えない障害にどう向き合うか。ラストワンマイルのデバッグ実践 / Shibui SRE
kanny
12
5.3k
Claude Codeとハーネスについて考えてみる
oikon48
18
8.8k
「ちゃんとやっている」は独りよがりだった ― 不安に寄り添うインシデント対応へ / Towards incident response that addresses anxieties
chmikata
1
3.9k
そのタスクオンスケですか?
poropinai1966
0
140
AWS Blocks を触ってみた/first-tach-aws-blocks
fossamagna
2
150
証券システムを10年Scalaで作り続けるということ - 関数型まつり2026
krrrr38
3
760
SRE歴2ヶ月でも開発6年の知見を活かして、チームで止まっていた環境改善を前に進めた話
a_ono
1
220
最適な自走を最小限の支援で — M&Aで拡大する組織で少人数SREが挑んだ1年 / SRE NEXT 2026
genda
0
510
金融の未来を考える / Thinking About the Future of Finance
ks91
PRO
0
180
ループエンジニアリングでE2Eテストを実践
noriyukitakei
0
320
20260702_生成AIはどこまで成長するのか_チャットだけじゃない世界
doradora09
PRO
0
110
型は壁、Rustでもバグを直すな、表現できなくせよ
nwiizo
12
1.8k
Featured
See All Featured
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
180
Done Done
chrislema
186
16k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
220
The Limits of Empathy - UXLibs8
cassininazir
1
400
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
410
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
260
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
170
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
460
Writing Fast Ruby
sferik
630
63k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
220
Transcript
⚡ $PATH kimschles 1
! echo $PATH kimschles 2
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin • Environment Variable • 1 long string • Colon-separated
• Is a path to executable code invoked through text commands kimschles 3
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin /usr/local/bin /usr/bin /bin /usr/sbin /sbin kimschles 4
Editing $PATH kimschles 5
Permanent Change Add to .bashrc or right from the command
line. export PATH=$PATH:/Library/Frameworks/Python.framework/ Versions/3.5/bin kimschles 6
Temporary Change From the command line. Only lasts in current
shell (no export) PATH=$PATH:/Library/Frameworks/Python.framework/Versions/ 3.5/bin kimschles 7
Recapitulation • Environment Variable • 1 long string • Colon-separated
• Is a path to executable code invoked through text commands kimschles 8
Recapitulation • See it with echo $PATH • Change it
with export: export PATH=$PATH:/Library/Frameworks/new/thing • Try out a new path by taking out export: PATH=$PATH:/Library/Frameworks/new/thing kimschles 9
Resources • How to Access and Edit Path • The
/bin Directory kimschles 10
kimschlesinger.com hirediversity.us kimschles 11