多选题修改了/etc/profile文件,如何生效()。Asource/etc/profileB/etc/profileC重启机器D/opt/profile
多选题
修改了/etc/profile文件,如何生效()。
A
source/etc/profile
B
/etc/profile
C
重启机器
D
/opt/profile
参考解析
解析:
暂无解析
相关考题:
Linux系统里,想要设置系统自动注销帐号,需要编辑()文件,确保其中TMOUT参数设置了合适的值。 A./etc/login.defsB./etc/profileC./boot/login.defsD./boot/profile
作为一个管理员,你希望在每一个新用户的目录下放一个文件.bashrc,那么你应该在哪个目录下放这个文件,以便于新用户创建主目录时自动将这个文件复制到自己的目录下。A./etc/skel/B./etc/default/C./etc/defaults/D./etc/profile.d/
Anadministratorcreateda.envfileinauser’shomedirectorytoconfigureanumberofcustomenvironmentvariablesforalocalapplication.However,aftertheuserlogsoutandthenlogsbackintothesystem,thecustomvariablesarenotbeingsetWhatisthemostlikelyreasonthatthecustom.envfileisbeingignored?()A.Ashellotherthankshisbeingusedbytheuser.B.Theline’exportENV=$HOME/.env’ismissingfrom/etc/profile.C.Theline’exportENV=$HOME/.env’ismissingfromtheuser’s.profile.D.Theenv_profileattributeisnotdefinedfortheuserwithin/etc/security/user.
用户的缺省Shell为Csh,此用户登录时,其环境脚本的执行顺序为:()。 A.etc/profile-$HOME/.cshrc-$HOME/.loginB.$HOME/.login-$HOME/.cshrc-etc/profileC.etc/profile-$HOME/.login-$HOME/..cshrcD.$HOME/.cshrc-etc/profile-$HOME/.login
作为一个管理员,你希望在每一个新用户的目录下放一个文件.bashrc,那么你应该在哪个目录下放这个文件,以便于新用户创建主目录时自动将这个文件复制到自己的目录下:()。A、/etc/skel/B、/etc/default/C、/etc/defaults/D、/etc/profile.d/
UNIX操作系统的帐号管理和权限分配主要是通过哪三个文件管理来实现()。A、/etc/passwd,/etc/profile和/etc/groupB、/etc/group,/etc/profile和/etc/shadowC、/etc/group,/etc/shadow和/etc/passwd
在一个终端中修改了环境变量配置文件.bash_profile后,要在此终端中让修改的文件立即生效,可用哪些方法()。A、cat.bash_profileB、..bash_profileC、morE.bash_profileD、sourcE.bash_profile
用户修改了/etc/inetd.conf配置文件,()可以使修改后的inetd.conf生效。A、startsrc-ginetdB、startsrc-sinetdC、refresh-sinetdD、inetd-f/etc/inetconf
更改服务器IP地址只用命令更改重启机器后并不能生效,同时需要更改其它相关文件,主要改哪些文件()A、MP上涉及的文件tcpip.cfgB、Server和Client上涉及的文件syscfg.iniC、Server涉及的文件bsccfg.iniD、/etc/hosts、/etc/hostname.*和/etc/netmasks
用户的缺省Shell为Csh,此用户登录时,其环境脚本的执行顺序为:()。A、etc/profile-$HOME/.cshrc-$HOME/.loginB、$HOME/.login-$HOME/.cshrc-etc/profileC、etc/profile-$HOME/.login-$HOME/..cshrcD、$HOME/.cshrc-etc/profile-$HOME/.login
如何将/etc/passwd这个文件的属主改变成root()。A、chgrp root/etc/passwdB、chown root/etc/passwdC、chown test/etc/passwdD、chgrp test/etc/passwd
Which of the following is a correct statement about how the user environment is configured at login?()A、If present, the settings in the $HOME/.profile file will override the settings in the /etc/profile file.B、If both $HOME/.profile and $HOME/.env files are present, the settings in the $HOME/.profile file will take precedence.C、The settings in the /etc/environment file are system-wide and will override user customized settings in the $HOME/.profile.D、The settings in the /etc/profile file will override settings in the $HOME/.profile file unless the $LOCAL_PROFILE variable is set to 'true'.
root想修改自己的PATH变量,且每次开机都会生效,应修改哪个文件()。A、/etc/profileB、/root/.bash_profileC、/etc/bashrcD、/gdlc/.bashrc
单选题Which of the following is a correct statement about how the user environment is configured at login?()AIf present, the settings in the $HOME/.profile file will override the settings in the /etc/profile file.BIf both $HOME/.profile and $HOME/.env files are present, the settings in the $HOME/.profile file will take precedence.CThe settings in the /etc/environment file are system-wide and will override user customized settings in the $HOME/.profile.DThe settings in the /etc/profile file will override settings in the $HOME/.profile file unless the $LOCAL_PROFILE variable is set to 'true'.
单选题Linux系统里,想要设置系统自动注销帐号,需要编辑()文件,确保其中TMOUT参数设置了合适的值。A/etc/login.defsB/etc/profileC/boot/login.defsD/boot/profile
多选题在一个终端中修改了环境变量配置文件.bash_profile后,要在此终端中让修改的文件立即生效,可用哪些方法()。Acat.bash_profileB..bash_profileCmorE.bash_profileDsourcE.bash_profile
单选题UNIX操作系统的帐号管理和权限分配主要是通过哪三个文件管理来实现()。A/etc/passwd,/etc/profile和/etc/groupB/etc/group,/etc/profile和/etc/shadowC/etc/group,/etc/shadow和/etc/passwd
单选题用户的缺省Shell为Csh,此用户登录时,其环境脚本的执行顺序为:()。Aetc/profile-$HOME/.cshrc-$HOME/.loginB$HOME/.login-$HOME/.cshrc-etc/profileCetc/profile-$HOME/.login-$HOME/..cshrcD$HOME/.cshrc-etc/profile-$HOME/.login