Following this post, I am souring a bashrc
file inside the WSL2/Ubuntu by:
source /usr/share/openfoam/etc/bashrc
but I get lots of error messages:
-bash: /usr/share/openfoam/bin/<someFile>: No such file or directory
now I want to know which line(s) of the original bashrc
file is causing these errors. I don't want to mess up the script, so preferably if the source
command has some options to print out the line numbers of the stream output, or is there a way to activate that generally, that would be the best.