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
90
$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
100
Beyond Block Diagrams: Different Ways of Understanding K8s Architecture
kimschles
1
160
nginx and node.js
kimschles
0
130
$PATH, /bin and $PS1
kimschles
0
350
Fuzzy Lines: Aligning Teams to Monitor Your Application Ecosystem
kimschles
0
350
Refactoring for Accessibility
kimschles
0
620
Zero to SRE
kimschles
0
170
A Beginner's Guide to Kubernetes
kimschles
0
98
kick-ass-teacher.pdf
kimschles
0
260
Other Decks in Technology
See All in Technology
AI Ready API ─ AI時代に求められるAPI設計とは?/ AI-Ready API - Designing MCP and APIs in the AI Era
yokawasa
20
5.7k
本当にわかりやすいAIエージェント入門
segavvy
10
5.9k
Amazon CloudWatchのメトリクスインターバルについて / Metrics interval matters
ymotongpoo
3
210
SAE J1939シミュレーション環境構築
daikiokazaki
0
130
FAST導入1年間のふりかえり〜現実を直視し、さらなる進化を求めて〜 / Review of the first year of FAST implementation
wooootack
1
120
Microsoft Defender XDRで疲弊しないためのインシデント対応
sophiakunii
3
400
なぜAI時代に 「イベント」を中心に考えるのか? / Why focus on "events" in the age of AI?
ytake
2
450
そもそも AWS FIS について。なぜ今 FIS のハンズオンなのか?などなど
kazzpapa3
2
120
TROCCO今昔
gtnao
0
210
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
7k
PHPでResult型やってみよう
higaki_program
0
190
RapidPen: AIエージェントによる高度なペネトレーションテスト自動化の研究開発
laysakura
1
390
Featured
See All Featured
Facilitating Awesome Meetings
lara
54
6.5k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.5k
Site-Speed That Sticks
csswizardry
10
720
Fireside Chat
paigeccino
37
3.5k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
Faster Mobile Websites
deanohume
308
31k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
A Modern Web Designer's Workflow
chriscoyier
695
190k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
990
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