terminal或者bash有没有可以复制某个特定区域的快捷键?
我想说你说的是什么元件
有能够复造某个特定区域的快速键的
Hi, however it is not important! 您担忧的是多余的,起首您能够输入echo $SHELL号令来判断shell类型。 若是您想临时改动SHELL,只需间接输入号令bash, tcsh等等。。。
And about the prompt。
。。 don't worry, you can fix this problem by following steps。
firstly, for example, you can change it temporary by excute command: PS1="$", okay, just try it。
and to set the virable "PS1" to a particular string permanently, you have to edit the file: /etc/bashrc, of cause, you must be root to handle it。
vi /etc/bashrc
here is the point:
# Turn on checkwinsize
shopt -s checkwinsize
[ "$PS1" = "\\s-\\v\\\$ " ] && PS1='\u@\h\ '
找到那段改成我那个样子就好了,至于参数的意义颠末你渐渐积累经历就晓得了。
不大白的发信息给我吧。
0