linux cd ls 执行cd之后直接ls列出所有文件

参考博客:https://blog.csdn.net/imeradio/article/details/82809275

csh:

alias cd 'cd \!* ; ls; pwd'

参考博客:https://www.cnblogs.com/yfzs/p/15561320.html

bashrc:

cd()
{
    builtin cd "$@" && ll && pwd
}
文章目录