以下command在cshell中生效
注意*后面的空格,以及ll之前的空格
如果执行cd之后命令行显示的目录(用户名后面紧跟着的)没有变化的,可以试着再加入source
如果是在bash的环境,在.bashrc中加入:
Note the leading space (" ") in the bash version, it prevents the result to be alias expanded again. So it prevents loops. bash另一种方法,在.bashrc中加入:
|
|