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
68
Beyond Block Diagrams: Different Ways of Understanding K8s Architecture
kimschles
1
88
nginx and node.js
kimschles
0
75
$PATH, /bin and $PS1
kimschles
0
240
Fuzzy Lines: Aligning Teams to Monitor Your Application Ecosystem
kimschles
0
270
Refactoring for Accessibility
kimschles
0
490
Zero to SRE
kimschles
0
130
A Beginner's Guide to Kubernetes
kimschles
0
55
kick-ass-teacher.pdf
kimschles
0
190
Other Decks in Technology
See All in Technology
ゆめみのアクセシビリティの現在地と今後
ryokatsuse
3
290
Flutter研修【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
160
スタートアップにおける組織設計とスクラムの長期戦略 / Scrum Fest Kanazawa 2024
yoshikiiida
13
3.6k
[NIKKEI Tech Talk] KDDI/KAG Scrum & Community for Engineering Training
curanosuke
2
220
Luupの開発組織におけるインシデントマネジメントの変遷 ver.RoadtoSRENEXT2024
grimoh
1
270
データ分析基盤を作ってみよう~設計編~
nrinetcom
PRO
1
110
GoとアクターモデルでES+CQRSを実践! / proto_actor_es_cqrs
ytake
1
150
OSSコミットしてZennの課題を解決した話
dyoshikawa1993
0
150
Git 研修 Basic【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
310
AOAI Dev Day LLMシステム開発 Tips集
hirosatogamo
15
3.7k
[I/O Extended Android 2024] What`s new in Android 2024
kyeongwan
0
220
目標設定は好きですか? アジャイルとともに目標と向き合い続ける方法 / Do you like target Management?
kakehashi
10
3k
Featured
See All Featured
How to Ace a Technical Interview
jacobian
274
23k
We Have a Design System, Now What?
morganepeng
46
7k
Writing Fast Ruby
sferik
623
60k
Web Components: a chance to create the future
zenorocha
307
41k
Build your cross-platform service in a week with App Engine
jlugia
227
17k
The Invisible Customer
myddelton
117
13k
Docker and Python
trallard
37
2.9k
Gamification - CAS2011
davidbonilla
78
4.9k
KATA
mclloyd
20
13k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
17
1.5k
Speed Design
sergeychernyshev
9
270
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