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
86
$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
97
Beyond Block Diagrams: Different Ways of Understanding K8s Architecture
kimschles
1
150
nginx and node.js
kimschles
0
120
$PATH, /bin and $PS1
kimschles
0
340
Fuzzy Lines: Aligning Teams to Monitor Your Application Ecosystem
kimschles
0
340
Refactoring for Accessibility
kimschles
0
610
Zero to SRE
kimschles
0
160
A Beginner's Guide to Kubernetes
kimschles
0
93
kick-ass-teacher.pdf
kimschles
0
250
Other Decks in Technology
See All in Technology
QAはソフトウェアエンジニアリングを学んで実践するのが大事なの
ymty
1
290
やさしい認証認可
minorun365
PRO
29
12k
What's new in OpenShift 4.19
redhatlivestreaming
1
180
Securing your Lambda 101
chillzprezi
0
230
「伝える」を加速させるCursor術
naomix
0
590
Data Hubグループ 紹介資料
sansan33
PRO
0
1.8k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
25
10k
OCI Oracle Database Services新機能アップデート(2025/03-2025/05)
oracle4engineer
PRO
1
110
Vibe Codingの裏で、 考える力をどう取り戻すか
csekine
2
650
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
12k
Monorepo Error Management: Automated Runbooks and Team-Targeted Alert Distribution
biwashi
1
170
CIでのgolangci-lintの実行を約90%削減した話
kazukihayase
0
110
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
337
57k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Product Roadmaps are Hard
iamctodd
PRO
53
11k
Done Done
chrislema
184
16k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
228
22k
Statistics for Hackers
jakevdp
799
220k
Side Projects
sachag
454
42k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
Embracing the Ebb and Flow
colly
85
4.7k
KATA
mclloyd
29
14k
How to train your dragon (web standard)
notwaldorf
92
6.1k
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