PDA

View Full Version : Unix question




mc68k
Jun 7, 2002, 05:40 PM
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. :)



Rower_CPU
Jun 7, 2002, 05:41 PM
I want my "l" back too...

Let's see if anyone knows.:)

szark
Jun 7, 2002, 07:05 PM
You need to put the command in the .cshrc file in your home directory:

alias l 'ls -l'

mc68k
Jun 7, 2002, 07:22 PM
Originally posted by szark
You need to put the command in the .cshrc file in your home directory:

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

Hemingray
Jun 7, 2002, 09:06 PM
*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
Jun 7, 2002, 09:16 PM
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
Jun 7, 2002, 09:24 PM
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...