#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Posts
    208
    Rep Power
    13

    Initial setup file not work


    Hi,

    I have an initial setup file which is called .dtprofile in the Unix server. If I switched to Linux server, this file would not work. For example, I have an alias ll='ls -l' in the file. If I was on the Unix server, the command ll would work. If I was on the Linux server, the command would not work. Do you why? How do I fix the problem?

    Thanks.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2006
    Posts
    2,442
    Rep Power
    1688
    I suspect that with Linux you are using a different desktop environment and login shell, thus the .dtprofile is not being sourced for you.
    You should either be able to 'list' your desired aliases in the ~/.bash_aliases file or by placing them in the .bashrc file in the same place (your user's home directory).

    Comments on this post

    • aitken325i agrees
    The moon on the one hand, the dawn on the other:
    The moon is my sister, the dawn is my brother.
    The moon on my left and the dawn on my right.
    My brother, good morning: my sister, good night.
    -- Hilaire Belloc

IMN logo majestic logo threadwatch logo seochat tools logo