Tuesday, September 13, 2011

.cshrc file help (C Shell)?

I'm working on my .cshrc file, and I want to create an alias: cdls, that will cd to a directory, then ls the directory it changes to. Is this possible, if so, how do I do it?



When it's all said and done, I want to be able to type :

cdls foo

into the terminal, and it will go into the directory foo, then list its contents..cshrc file help (C Shell)?
try alias cdls cd\ ls\!*

No comments:

Post a Comment