【单选题】当使用bash的shell时,下面的哪个文件可以用来定义默认的环境变量()。
A. ~/.profile B. /etc/profile C. /etc/bash D. ~/.bash
A. ~/.profile B. /etc/profile C. /etc/bash D. ~/.bash
举一反三
- JDK的环境变量配置,Linux下通常要配置哪个文件()。 A: /etc/rc.local B: /etc/profile C: /etc/bash D: /etc/jdk.conf
- JDK的环境变量配置,Linux下通常要配置哪个文件()。 A: /etc/rc.local\n B: /etc/profile\n C: /etc/bash\n D: /etc/jdk.conf
- bash 有两个基本的系统级配置文件: /etc/ 和 /etc/profile
- 默认情况下,下列文件中,()不会影响BASH的启动过程。 A: /etc/profile B: ~/.bash_profile C: ~/.bash_login D: ~/.bash_logout
- 中国大学MOOC:bash有两个基本的系统级配置文件:/etc/和/etc/profile