Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Not able to set environment variables using .profile file.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Shambhavi" data-source="post: 201418"><p>echo $SHELL did give me </p><p>/bin/bash</p><p></p><p>while cat .profile gave</p><p>cat: .profile: No such file or directory.</p><p></p><p>While I can see the file being present (I have my show all files option of the Finder property turned ON)</p><p></p><p>The way i created my .profile was went to TextEdit pasted the content that goes into it. Saved it as .profle (the format was RTF the default) in my Users/<myUserName> folder. i.e in my $HOME folder.</p></blockquote><p></p>
[QUOTE="Shambhavi, post: 201418"] echo $SHELL did give me /bin/bash while cat .profile gave cat: .profile: No such file or directory. While I can see the file being present (I have my show all files option of the Finder property turned ON) The way i created my .profile was went to TextEdit pasted the content that goes into it. Saved it as .profle (the format was RTF the default) in my Users/<myUserName> folder. i.e in my $HOME folder. [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Not able to set environment variables using .profile file.
Top