Results 1 to 2 of 2
Hi all,
I am trying - in the .cshrc file - to make a new alias which enables me to replace the (ls -lrt) command with the letter (a).
How ...
- 09-20-2011 #1Just Joined!
- Join Date
- Sep 2011
- Posts
- 2
alias
Hi all,
I am trying - in the .cshrc file - to make a new alias which enables me to replace the (ls -lrt) command with the letter (a).
How can I do that?
I tried this line, but it is not working
alias a 'ls -la'
Thanks
Taiseer
- 09-24-2011 #2Banned
- Join Date
- Feb 2010
- Posts
- 31
I think the syntax is:
alias a='ls -lrt'
Notice no spaces around the = sign.
After you edited the .cshrc file don't forget to reload it.
. ./.cshrcLast edited by oz; 09-24-2011 at 12:25 PM. Reason: SPAM removal


Reply With Quote