Hi all,
I would like to create a new unix command to automatically list the contents of a directory after a CD command. So far, I've tried several things:
alias cdls='cd $1 | ls -l'
function cdls(){ cd $1; ls -l;}
Both perform the listing but dont change the working directory.
Thanks.