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
42
$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
53
Beyond Block Diagrams: Different Ways of Understanding K8s Architecture
kimschles
1
78
nginx and node.js
kimschles
0
66
$PATH, /bin and $PS1
kimschles
0
220
Fuzzy Lines: Aligning Teams to Monitor Your Application Ecosystem
kimschles
0
240
Refactoring for Accessibility
kimschles
0
460
Zero to SRE
kimschles
0
120
A Beginner's Guide to Kubernetes
kimschles
0
49
kick-ass-teacher.pdf
kimschles
0
170
Other Decks in Technology
See All in Technology
MySQL の SQL クエリチューニングの要所を掴む勉強会
andpad
2
6.2k
ServiceNow Knowledge Learning Rise up
manarobot
0
210
Kernel MemoryでAzure OpenAI Serviceとお手軽データソース連携
mitsuzono
1
240
エンジニアのキャリアをちょっと楽しくする3本の軸/Three Pillars to Make an Engineer's Career More Enjoyable
kwappa
0
2.7k
Tellus の衛星データを見てみよう #mf_fukuoka
kongmingstrap
0
180
Azure犬駆動開発の記録/GlobalAzureFukuoka2024_20240420
nina01
1
210
反実仮想機械学習とは何か
usaito
PRO
11
4.5k
元インフラエンジニアに成る / Human Resources to Human Relations
bobtani
4
910
DevOpsDays History and my DevOps story
kawaguti
PRO
9
2.5k
データベース02: データベースの概念
trycycle
0
150
私が trocco を推す理由
__allllllllez__
1
220
アクセス制御にまつわる改善 / Improving access control
itkq
0
530
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
243
12k
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.6k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
221
21k
Being A Developer After 40
akosma
57
580k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
25
2.3k
How GitHub (no longer) Works
holman
304
140k
Build your cross-platform service in a week with App Engine
jlugia
225
17k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
322
20k
Typedesign – Prime Four
hannesfritz
36
2.1k
Automating Front-end Workflow
addyosmani
1356
200k
Facilitating Awesome Meetings
lara
42
5.6k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
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