# 成為駭客的前一哩路 ## Chapter 7 - Managing User Environment Variables ### variables(兩種變數) * shell * environment # environment變數 * process-wide(全域變數) * 建立在系統上的介面以感知使用者 * 被child shells(子shell)或processes(子進程)繼承 # shell變數 * 小寫形式列出 * 區域變數 ### 變數的形式 * KEY=value(一個值) * KEY=value1:value2(多個) * 補充:空白鍵也必須被""括起來 * 補充:每個使用者,包括root都有一組默認的環境變數,決定系統的外觀,可以更動這些值以滿足你的要求(在Kali Linux中,你的環境就是你的bash shell(Bourne Again SHell)) ### --- <div style="display: flex; justify-content: space-around"> <a href="https://hackmd.io/@MatchaCode/SyFbJgSQ6" role="button"> 上一篇: Chapter 6</a> <a href="https://hackmd.io/@MatchaCode/BkJNger7a" role="button"> 下一篇: Chapter 8</a> </div>
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up