关于普通用户输入命令提示command not found 及字符集修改
2016-11-12 10:57
316 查看
普通用户添加环境变量
#which ifconfig 查找
#vim ~/.bash_profile
以下是配置文件
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/usr/local/sbin:/usr/sbin
export PATH
~
#source ~/.bash_profile 生效
提示:
:/usr/local/sbin:/usr/sbin 是添加部分
字符集在/etc/sysconfig/i18n
[root@localhost ~]# more /etc/sysconfig/i18n
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
修改LANG
#source /etc/sysconfig/i18n
#which ifconfig 查找
#vim ~/.bash_profile
以下是配置文件
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/usr/local/sbin:/usr/sbin
export PATH
~
#source ~/.bash_profile 生效
提示:
:/usr/local/sbin:/usr/sbin 是添加部分
字符集在/etc/sysconfig/i18n
[root@localhost ~]# more /etc/sysconfig/i18n
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
修改LANG
#source /etc/sysconfig/i18n
相关文章推荐
- Linux下已经安装了vsftpd软件包,并且vaftpd服务已启动,为什么输入命令ftp时还是提示command not found
- .普通用户运行mysql,输入命令,提示:ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql' .
- 关于Windows_8.1/Windows 7下普通用户运行软件提示需要输入管理员密码解决方法
- linux 从普通用户切换为管理员时用 su 命令为什么提示输入密码,按什么键光标都没反应?
- 关于arm-linux-gcc切换到root用户找不到命令的解决办法(command not found)
- 909422229_关于Linux下运行mysql命令提示command not found解决办法
- linux下使用shutdown命令关机,提示: command not found
- ubuntu中使用tab键来补齐输入命令普通用户可用切换root后不能的解决方法
- 解决QT Creator交叉编译提示make:arm-linux-g++:Command not found 命令找不到
- ifconfig命令无法找到,提示bash: ifconfig: command not found
- 使用oracle的exp命令时,提示出--hash: exp: command not found
- CentOS执行ftp命令提示ftp:command not found解决方法
- Linux:-bash: ***: command not found,系统很多命令都用不了,均提示没有此命令
- CentOS执行ftp命令提示ftp:command not found解决方法
- [转] 关于linux下通过shell命令(自动)修改用户密码
- VS2012关于cocos2d-x的解决方案加载失败(提示:该项目需要用户输入cocos2d加载失败)
- ubuntu中提示找不到make命令的解决方案(command not found)
- Linux输入命令出现bash:.....:command not found的解决办法
- linux 输入ifconfig命令报错:“ifconfig: command not found” 其他命令类似这种解决方法
- 关于ORACLE中普通用户能修改自己密码的测试