.profile .login location

Hello


I downloaded ROOT program https://root.cern.ch/downloading-root


At the end of this page, it says


Basically it is enough to use a special script distributed with ROOT:

  • For the sh shell family do:
    . <pathname>/root/bin/thisroot.sh
  • For the csh shell family do:
    source <pathname>/root/bin/thisroot.csh

where

<pathname>
is the location where you unpacked the ROOT distribution.

Typically add these lines to your

.profile
or
.login
files.


For my mac, .<pathname>/root/bin/thisroot.sh needs to be added to the .profile or .login files


However, I was not able to find these files.

Replies

macOS does not create any default UNIX shell startup files (

~/.profile
,
~/.login
, and so on). If you need them, just create them yourself.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"