Why PATH is automatically exported?

后端 未结 0 1875
醉梦人生
醉梦人生 2021-01-24 09:23

Put the following a.sh and b.sh to /tmp/ and make them executable:

#!/bin/sh
PATH=/tmp:$PATH
A=5
echo $A
echo $PATH
b.sh


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题