今天linux 的環境變量莫名的失效了
你可以執行:
export PATH=/bin:/usr/bin:PATH
source ~/.bash_profile
今天linux 的環境變量莫名的失效了
你可以執行:
export PATH=/bin:/usr/bin:PATH然後再執行ls應該就可以了,可將上面的語句添加到用戶的profile裏,以後登錄即可生效:vi /.bashprofile添加exportPATH=/bin:/usr/bin:PATH
source ~/.bash_profile
$fileContent = trim($fileContent); $fileContent=$queueList->characet($fileContent);