Adding New User on Linux OS and Mac OS

Open your profile file in a text editor. You can run the following command in order to know what the default profile file is.

On Linux OS:

echo "$HOME/.bashrc"

On Mac OS:

echo "$HOME/.bash_profile"

Copy/paste the content of Profile File Function on Linux OS and Mac OS into your profile file (or a Shell script file) where it would be sourced whenever a new terminal window/tab is opened.

This setup, since it's done manually requires path variable on the line 40 to be edited manually as well. Current value of the variable is $HOME, which refers to installation path of Meco™. Say you installed Meco™ on /mnt/meco. In such case the variable should look like the following example.

# From this 
local path="$HOME";

# To this
local path="/mnt";

Please note, new variable value doesn’t contain meco in it. It simply refers to the installation path of Meco™. After you save the file open a new terminal window/tab for changes to take effect.