![]() ![]() You can add environmental variables and shell variables onto new lines, if there is already data within the. bash_profile within the nano text editor: bash_profile with nano – you can use vi, emacs, or another text editor if you’d like, but we’ll cover nano for it’s simplicity. We’re going to assume you’re still using the OS X default bash shell, thus we’ll add new environment variables by modifying. ![]() If you changed your shell or you aren’t sure what shell you’re using, you can always check by issuing the echo $SHELL command, which will display which shell is in use. bash_profile, for an active user account the path to that file is locate at: Setting Environmental Variables in Mac OS X Command Lineīecause the Mac defaults to using bash shell, you can set environmental variables in the user directories.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |