linux在shell中[root@]出现-bash-
2011-10-13 11:00
351 查看
在shell中[root@]出现-bash- 解决方案 应该是删了/root 目录下的文件 通过这样修复下应该就可以了,到你自己家目录拷贝bashrc和bash_profile 到/root目录即可 -bash-4.1# cd /home/mysql 我的家目录 -bash-4.1#cp ./.bashrc /root -bash-4.1#cp ./.bash_profile /root -bash-4.1#su mysql [shiwenzhao@localhost ~]$ su - [root@localhost ~]#
相关文章推荐
- linux bash Shell脚本经典之Fork炸弹解析:() { :|:& };:
- linux下登录出现-bash-3.2#解决办法
- linux超级基础系列——什么是shell? bash和shell有什么关系?
- Linux bash shell 逐行读取文本文件的三种方法
- linux bash shell之变量替换::=句法、=句法、:-句法、-句法、=?句法、?句法、:+句法、+句法
- Linux Bash Shell快速入门
- Linux Bash Shell快速入门
- Linux useradd命令执行,出现 bash:useradd:command not found
- Linux操作系统基础解析之(七)——Bash(Shell)基础知识(1)
- Linux Bash Shell学习(六):设置环境参数
- linux下shell显示-bash-4.1#不显示路径解决方法
- Bash For Loop Examples for Your Linux Shell Scripting--ref
- 【Linux】执行shell脚本出现异常:bad interpreter: No such file or directory如何解决
- Linux操作系统基础解析之(七)——Bash(Shell)基础知识(3)
- linux下shell显示-bash-4.1#不显示路径解决方法
- Linux 学习笔记 -- 第三部分 学习 shell 与 shell script -- 第11章 认识与学习 bash
- Linux的Bash Shell详解
- linux学习篇8--- shell,bash讲解 3 数据流重导向 与 管线命令
- linux bash shell中,单引号、 双引号,反引号(``)的区别及各种括号的区别