cdl () { cd $1;ls -l --color=yes; } works, but is there a way I can add the 'more' command to it?
Serban Giuroiu > > Thanks a lot, your tip works, but now I have a new problem: the colors > > are gone when I run the command. For example, when you run 'ls', there > > are different colors to distinguish the folders, text files, > > executables, etc, but it's all only one color now (in my case green > > because my setup is green on black). How can I make the different colors > > appear? > > The colors still work for me. You must not have the color=yes part > being exported into your environment. > > This will probabley work > > cdl () { cd $1;ls -l --color=yes; } Get your own FREE E-mail address at http://www.linuxfreemail.com Linux FREE Mail is 100% FREE, 100% Linux, 100% better, and 100% yours! _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list