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
98
$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
170
nginx and node.js
kimschles
0
140
$PATH, /bin and $PS1
kimschles
0
360
Fuzzy Lines: Aligning Teams to Monitor Your Application Ecosystem
kimschles
0
360
Refactoring for Accessibility
kimschles
0
630
Zero to SRE
kimschles
0
170
A Beginner's Guide to Kubernetes
kimschles
0
100
kick-ass-teacher.pdf
kimschles
0
260
Other Decks in Technology
See All in Technology
AI駆動開発に向けた新しいエンジニアマインドセット
kazue
0
300
クラウドセキュリティを支える技術と運用の最前線 / Cutting-edge Technologies and Operations Supporting Cloud Security
yuj1osm
2
300
なぜスクラムはこうなったのか?歴史が教えてくれたこと/Shall we explore the roots of Scrum
sanogemaru
5
1.5k
JTCにおける内製×スクラム開発への挑戦〜内製化率95%達成の舞台裏/JTC's challenge of in-house development with Scrum
aeonpeople
0
170
下手な強制、ダメ!絶対! 「ガードレール」を「檻」にさせない"ガバナンス"の取り方とは?
tsukaman
2
390
AI時代に非連続な成長を実現するエンジニアリング戦略
sansantech
PRO
3
1.1k
Platform開発が先行する Platform Engineeringの違和感
kintotechdev
3
510
Kubernetes における cgroup v2 でのOut-Of-Memory 問題の解決
pfn
PRO
0
470
実践!カスタムインストラクション&スラッシュコマンド
puku0x
0
270
Bye-Bye Query Spaghetti: Write Queries You'll Actually Understand Using Pipelined SQL Syntax
tobiaslampertlotum
0
150
サラリーマンの小遣いで作るtoCサービス - Cloudflare Workersでスケールする開発戦略
shinaps
1
150
Grafana MCPサーバーによるAIエージェント経由でのGrafanaダッシュボード動的生成
hamadakoji
1
1.5k
Featured
See All Featured
Building Adaptive Systems
keathley
43
2.7k
The Cost Of JavaScript in 2023
addyosmani
53
8.9k
Six Lessons from altMBA
skipperchong
28
4k
Context Engineering - Making Every Token Count
addyosmani
1
17
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
A Tale of Four Properties
chriscoyier
160
23k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Designing Experiences People Love
moore
142
24k
GraphQLとの向き合い方2022年版
quramy
49
14k
KATA
mclloyd
32
14k
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