On 2015-06-02, Barry Margolin <
bar...@alum.mit.edu> wrote:
> In article <slrnmmrbe...@phreddesimacg54.lan>,
> Peter James <
pe...@pfjames.co.uk> wrote:
>
>> I am attempting to run Unix under Mac OSX 10.10.3.
>>
>> My text book tells me I can write a .profile in my users
>> directory that can affect and change the way I use Unix.
>>
>> I have written a file .profile that is in Users/peter and
>> includes the following lines.
>>
>> alias ls="/bin/ls -aF"
>> alias desktop="cd ~/Desktop
>> alias rm="rm -i"
>> alias cp="cp -i"
>> alias mv="mv -i"
>>
>> export PS1="\h \u \w \$ "
>>
>> And yet nothing works as per the above lines.
>> Have I got the syntax wrong, or have I just read the
>> manual incorrectly? Or is the file .profile in the
>> wrong directory?
>>
>> Thanks,
>>
>> Peter
>
> What shell are you running? That should work as long as you're not using
> csh or tcsh as your shell.
>