Check out example codes for "add sqlcmd to path linux". It will help you in understanding the concepts better.

Code Example 1

export PATH=$PATH:/opt/mssql/bin:/opt/mssql-tools/bin

Learn ReactJs, React Native from akashmittal.com