Ubuntu终端改成显示相对路径 (1)终端中输入 cp /etc/skel/.bashrc ~/; (2)打开并修改.bashrc文件: gedit .bashrc; (3)把下图中的w改为大写W, 保存。 (4)source ~/.bashrc