原文:linux修改/etc/profile权限

修改 etc profile时提示为只读文件,不允许修改, 敲 chmod etc profile后仍不允许修改 解决办法: 在root权限下敲 :mount o remount,rw ...

2019-08-30 17:05 0 1457 推荐指数:

查看详情

linux修改etc/profile文件

etc/profile文件是只读的,直接用vi或gedit打开修改后是无法保存的。要修改profile,需要取得root权限,(使用gedit编辑) 1. su root 输入密码 进入root模式 2. $sudo gedit /etc/profile 之后就可以保存 ...

Sat Apr 27 05:06:00 CST 2019 0 5412
Linux修改/etc/profile不生效的问题

今天在原来的机器上修改了JDK的路径配置,但死活不生效。 后来查了~/.bash_profile文件,里面没有配置。 最后查~/.bashrc文件,发现里面有JDK的配置 ...

Tue Aug 11 01:16:00 CST 2015 0 2099
修改/etc/profile文件

通常情况下,/etc/profile文件是只读的,直接用vi或gedit打开修改后是无法保存的。要修改profile,需要取得root权限,(使用gedit编辑)应该如下: $sudo gedit /etc/profile 或者 $sudo -s $gedit /etc/profile ...

Sun Jul 12 23:10:00 CST 2015 0 2909
linux修改vim /etc/profile 配置文件 修改不了

是因为没有下载vim。。。。。。。。。。下载vim就可以了。 语句是:yum install vim 有人说权限问题,我的不是权限问题,就是单纯的没有这个命令。 就这样了,改吧骚年们,下图是下载之后的效果。 ...

Tue Nov 05 05:27:00 CST 2019 1 3122
linux修改/etc/profile出错command not found解决办法

linux修改/etc/profile出错导致所有命令都command not found的解决办法 执行命令 因为基本所有的shell命令都包含在上面几个目录中, 执行完后,就可以执行其他命令,赶紧把/etc/profile的错误改正过来~~~ 然后再 ...

Tue Aug 25 03:57:00 CST 2020 0 604
Redhat Linux /etc/profile 与 /etc/bashrc 的区别

最近学习RHCE,在umask这里,书里说要修改/etc/profile和/etc/bashrc两个文件,却没有说明这两个区别。于是在上网查看之后倒是明白了各是怎么用的。/etc/profile是对应登录的,/etc/bashrc是对应打开shell的。但是实际使用区别在哪,如果说bashrc ...

Wed Oct 08 22:34:00 CST 2014 0 2133
Linux /etc/profile文件详解

Linux /etc/profile文件详解 转载地址:http://linux.chinaitlab.com/administer/820910.html linux /etc/profile文件的改变会涉及到系统的环境,也就是有关Linux ...

Tue Nov 13 23:54:00 CST 2018 0 30880
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM