Linux下命令行变成-bash-4.2出现原因以及解决方法
出现原因:
基本上是因为删除了 .bash_profile 这个隐藏文件或者改了这个.bash_profile 中的配置导致的
解决方法:
vi ~/.bash_profile
在文件最后加上
export PS1='[\u@\h \W]\$'
然后
source ~/.bash_profile
就可以了
出现原因:
基本上是因为删除了 .bash_profile 这个隐藏文件或者改了这个.bash_profile 中的配置导致的
解决方法:
vi ~/.bash_profile
在文件最后加上
export PS1='[\u@\h \W]\$'
然后
source ~/.bash_profile
就可以了
一、常用启动jar脚本,带debug模式。#!/bin/sh # author name:ubox # $0 是文件名 # $1 是第一个参数 # echo $0 start 是启动服务 # echo $0 stop 是停止服务 # echo $0 restart 是重启服务...