2025年4月6日

linux 设置环境变量的文件

摘要: 在 Linux 和 Unix 系统中,有多个文件可以用来设置环境变量。环境变量可以在用户登录时或在特定的 shell 会话中被加载。以下是常见的用于设置环境变量的文件及其用途: 1. .bash_profile 位置: 用户主目录下(例如 /home/username/.bash_profile)。 阅读全文

posted @ 2025-04-06 11:27 running-fly 阅读(453) 评论(0) 推荐(0)

导航