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
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
$PATH
A lightning talk breaking down the $PATH variable.
Kim Schlesinger
November 20, 2018
More Decks by Kim Schlesinger
See All by Kim Schlesinger
Sidecar Pattern
kimschles
0
140
Beyond Block Diagrams: Different Ways of Understanding K8s Architecture
kimschles
1
240
nginx and node.js
kimschles
0
180
$PATH, /bin and $PS1
kimschles
0
470
Fuzzy Lines: Aligning Teams to Monitor Your Application Ecosystem
kimschles
0
430
Refactoring for Accessibility
kimschles
0
720
Zero to SRE
kimschles
0
230
A Beginner's Guide to Kubernetes
kimschles
0
170
kick-ass-teacher.pdf
kimschles
0
340
Other Decks in Technology
See All in Technology
dbt in Microsoft Fabric
ryomaru0825
0
170
コーチングの奥義 何もしないテクニック
jinwatanabe
0
150
:syncing_time:
sksat
2
490
ホームラボ紹介
y_sera15
0
230
強化学習「理論」入門
enakai00
3
3.6k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
24
430k
内製AIチャットボット開発で学んだ Datadog Agent Observability活用術
mkdev10
0
110
AIに持続⼒を与える 判断の⻑期記憶設計
eiei114
1
660
Model Studio CLI × Token Plan
maigo999
0
210
ソフトウェアサプライチェーンの構造的リスクとコンテナ環境の保護
kyohmizu
5
840
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
12
85k
AIコーディングの次。コードレビューと理解負荷を解消して組織の開発生産性を高める
moongift
PRO
2
2.7k
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
260
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Why Our Code Smells
bkeepers
PRO
340
58k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.4k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
210
The SEO identity crisis: Don't let AI make you average
varn
0
530
From π to Pie charts
rasagy
0
320
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
440
First, design no harm
axbom
PRO
2
1.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.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