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

    Join Date
    Feb 2004
    Rep Power

    Initial setup file not work


    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?

  2. #2
  3. Contributing User
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2006
    Rep Power
    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