linux下shell显示-bash-4.1#不显示路径解决方法
来源:互联网 发布:淘宝五皇冠店铺 编辑:程序博客网 时间:2024/05/18 02:04
linux下shell显示-bash-4.1#不显示路径解决方法在linux shell中不显示路径了,显示为-bash-4.1#用起来很不方便。
如何改为显示路径的shell呢?
步骤如下:
vim ~/.bash_profile
(不用管.bash_profile这个文件有几个,自己新建一个也是可以的)
在最后加上
export PS1='[\u@\h \W]\$'
然后执行
source ~/.bash_profile
这样shell就可以显示路径了。
0 0
- linux下shell显示-bash-4.1#不显示路径解决方法
- linux下shell显示-bash-4.1#不显示路径解决方法
- linux下shell显示-bash-4.1#不显示路径解决方法
- linux下shell显示-bash-4.1#不显示路径解决方法
- linux下shell显示-bash-4.1#不显示路径解决方法
- linux下shell显示-bash-4.1$ 不显示路径解决方法
- linux下shell显示-bash-4.1#不显示路径解决方法
- linux下shell显示-bash-4.1#不显示路径解决方法
- linux下shell显示-bash-3.2$ 不显示路径解决方法
- Linux CentOS下shell显示-bash-4.1$ 不显示用户名路径的解决方法
- Linux CentOS下shell显示-bash-4.1$不显示用户名路径
- Linux CentOS下shell显示-bash-4.1$ 不显示用户名和主机名的解决方法
- linux CentOS下shell不显示用户名路径的解决方法
- 使用ssh 在shell显示-bash-4.1$ 不显示路径解决方法
- centos shell命令行只显示-bash-4.1#不显示用户和路径解决方法
- 在linux shell中不显示路径了,显示为-bash-4.1
- Linux CentOS下shell显示-bash-4.1$ 不显示用户名和主机名的解决
- 解决shell命令行只显示-bash-4.1#不显示用户和路径方法
- Failed to connect to database. This release of the GeoDatabase is either invalid or out of date
- Gradle - 实战笔记
- android studio svn的使用
- linux java: command not found 问题解决
- 抽象类和接口类
- linux下shell显示-bash-4.1#不显示路径解决方法
- Mac系统虚拟机里安装windows7
- linux sudo 命令
- 解决ie下cookie中文乱码问题
- iOS Controller 瘦身运动之 UItableView datasource 与 delegate的分离
- java实现斐波那契数列两种写法
- maven学习(下)利用Profile构建不同环境的部署包
- 快速搭建微信js-sdk开发环境。
- C++ 调用lib 和 dll的 方法 及 动态库DLL与静态库lib的区别