Unix question

Discussion in 'Mac Help/Tips' started by mc68k, Jun 7, 2002.

  1. mc68k macrumors 68000

    mc68k

    Joined:
    Apr 16, 2002
    #1
    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. :)
     
  2. Rower_CPU Moderator emeritus

    Rower_CPU

    Joined:
    Oct 5, 2001
    Location:
    San Diego, CA
    #2
    I want my "l" back too...

    Let's see if anyone knows.:)
     
  3. szark macrumors 68030

    szark

    Joined:
    May 14, 2002
    Location:
    Arid-Zone-A
    #3
    newbie to the rescue?

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

    Code:
    alias l 'ls -l'
     
  4. mc68k thread starter macrumors 68000

    mc68k

    Joined:
    Apr 16, 2002
    #4
    Re: newbie to the rescue?

    Thanks, szark. :) You saved me some research.
     
  5. Hemingray macrumors 68030

    Hemingray

    Joined:
    Jan 9, 2002
    Location:
    Ha ha haaa!
    #5
    *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!
     
  6. Rower_CPU Moderator emeritus

    Rower_CPU

    Joined:
    Oct 5, 2001
    Location:
    San Diego, CA
    #6
    Don't worry about it. I've picked up a lot thanks to OS X...I only got into Unix last fall.:D
     
  7. szark macrumors 68030

    szark

    Joined:
    May 14, 2002
    Location:
    Arid-Zone-A
    #7
    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...
     

Share This Page