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
Kim Schlesinger
November 20, 2018
Technology
0
45
$PATH
A lightning talk breaking down the $PATH variable.
Kim Schlesinger
November 20, 2018
Tweet
Share
More Decks by Kim Schlesinger
See All by Kim Schlesinger
Sidecar Pattern
kimschles
0
72
Beyond Block Diagrams: Different Ways of Understanding K8s Architecture
kimschles
1
88
nginx and node.js
kimschles
0
80
$PATH, /bin and $PS1
kimschles
0
250
Fuzzy Lines: Aligning Teams to Monitor Your Application Ecosystem
kimschles
0
280
Refactoring for Accessibility
kimschles
0
510
Zero to SRE
kimschles
0
130
A Beginner's Guide to Kubernetes
kimschles
0
57
kick-ass-teacher.pdf
kimschles
0
200
Other Decks in Technology
See All in Technology
20240906_JAWS_Yamanashi_#1_leap_beyond_the_AWS_all_certifications
tsumita
1
220
[RSJ24] Task Success Prediction for Open-Vocabulary Manipulation Based on Multi-Level Aligned Representations
keio_smilab
PRO
0
240
Monitor GraalVM Native Apps with OpenTelemetry
logico_jp
0
110
Mocking in Rust Applications
taiki45
1
110
ロリポップ! for Gamersを支えるインフラ/lolipop for gamers infrastructure
takumakume
0
110
自社サービスのための独自リリース版Redmine「RedMica」の取り組み
vividtone
0
900
Javaにおける関数型プログラミンへの取り組み
skrb
7
280
標準ライブラリの奥深アップデートを掘り下げよう!
logica0419
2
430
「名前解決」から振り返るAmazon VPC
yuki_ink
0
330
AI でアップデートする既存テクノロジーと、クラウドエンジニアの生きる道
soracom
PRO
1
350
標準最高!標準はださくないぞ! at fukuoka.ts #1
yoiwamoto
0
160
日経電子版から始まった内製開発の現在地と向き合っている課題/inhouse
nishiuma
0
240
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
48
13k
How to Think Like a Performance Engineer
csswizardry
16
930
The Pragmatic Product Professional
lauravandoore
30
6.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
35
6.8k
Art, The Web, and Tiny UX
lynnandtonic
294
20k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
278
13k
How To Stay Up To Date on Web Technology
chriscoyier
785
250k
Why You Should Never Use an ORM
jnunemaker
PRO
53
8.9k
Designing Experiences People Love
moore
138
23k
The Invisible Side of Design
smashingmag
295
50k
The Language of Interfaces
destraynor
153
23k
A Philosophy of Restraint
colly
202
16k
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