现在在玩debian 6.0 了 用xshell 登陆总是显示不出文件 与文件夹 的区别,还不习惯也不方便 经过研究 发现 默认没有启用

编辑.bashrc 文件 去掉红色标记前的#号,退出再登陆就在回熟悉的界面了

vim /root/.bashrc

 

  1. # ~/.bashrc: executed by bash(1) for non-login shells.
  2. #export PS1='\h:\w\$ '
  3. export PS1='\[\033[1;32;40m\]\u@\h:\w\$ \[\033[0m\]'
  4. umask 022
  5.  
  6. # You may uncomment the following lines if you want `ls' to be colorized:
  7.  export LS_OPTIONS='--color=auto'
  8.  eval "`dircolors`"
  9.  alias ls='ls $LS_OPTIONS'
  10.  alias ll='ls $LS_OPTIONS -l'
  11.  alias l='ls $LS_OPTIONS -lA'
  12. #
  13. # Some more alias to avoid making mistakes:
  14. # alias rm='rm -i'
  15. # alias cp='cp -i'
  16. # alias mv='mv -i'