I was following along Installing ASP.NET 5 and DNX post and here I'm stuck:
Tip: Add the following to your
.bash_profileand restart the Terminal. The first line will ensure that you can always run thednvmanddnucommands. The second line works around a known bug in Mono where you may see the IOExceptionFileSystemWatcher has reached the maximum number of files to watchwhen running your application.
source dnvm.sh
export MONO_MANAGED_WATCHER=disabled
My simple question is:
- How to add it to
.bash_profile?
.bash_profileis a file that sits at~/. You should be able to open it with a text editor and add those commands.Alternatively you can do this in your terminal.
Whats happening here is you are appending a piece of text
'source dnvm.sh'into a specific file.The
echocommand prints the text, and the>>shift operator appends the text to the file which is.bash_profilelocated at~/.