Unix question

mc68k

macrumors 68000
Original poster
Apr 16, 2002
1,996
0
I want to alias the command ls -l with l in Jaguar , since that's what I was used to in 10.1.x. My problem is that when I close the window, the alias is not remebered.

I know there's prob some config or log file for terminal or tcsh or what not, but I can't look it up right now. I know there's some Unix savvy people on here: How do I make this command stick?

Thanks in advance. :)
 

szark

macrumors 68030
May 14, 2002
2,887
0
Arid-Zone-A
newbie to the rescue?

You need to put the command in the .cshrc file in your home directory:

Code:
alias l 'ls -l'
 

mc68k

macrumors 68000
Original poster
Apr 16, 2002
1,996
0
Re: newbie to the rescue?

Originally posted by szark
You need to put the command in the .cshrc file in your home directory:

Code:
alias l 'ls -l'
Thanks, szark. :) You saved me some research.
 

Hemingray

macrumors 68030
Jan 9, 2002
2,915
26
Ha ha haaa!
*WHOOSH* [sound of unix speak going right over his head]

Okay, I REALLY need to learn the basics of UNIX, this is getting scary! I'm only up to Chapter 3 in my MacOS X Missing Manual... :( ...and so far, all they've talked about is stuff I know already. Ah well... keep a'goin'... one day I'll understand what you guys are up to!
 

Rower_CPU

Moderator emeritus
Oct 5, 2001
11,219
0
San Diego, CA
Originally posted by Hemingray
*WHOOSH* [sound of unix speak going right over his head]

Okay, I REALLY need to learn the basics of UNIX, this is getting scary! I'm only up to Chapter 3 in my MacOS X Missing Manual... :( ...and so far, all they've talked about is stuff I know already. Ah well... keep a'goin'... one day I'll understand what you guys are up to!
Don't worry about it. I've picked up a lot thanks to OS X...I only got into Unix last fall.:D
 

szark

macrumors 68030
May 14, 2002
2,887
0
Arid-Zone-A
I feel the same way sometimes about some of the Mac terminology I read around here.

I had always been interested in Apple, but didn't seriously consider purchasing one until I heard about OS X. That, and I loved the design of the Cube. ;)

One of these days I need to pick up a book or two and start programming...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.