How to run hass command to validate config in Linux? ("command not found")

I’ve just installed HA on a Lubuntu 16.10 platform, and want to use the hass command to valid my config files. When I try to run it from a bash prompt I get “command not found”.
Could anyone advise on what I need to do to make it executable on Linux?

What user did you install it as?

noot familiaar with Lubunto, but for hass to run from a command line, the path to the file has to be in your PATH environment variable.

For me (on OSX) it’s at :
/Library/Frameworks/Python.framework/Versions/3.6/bin/

I looked for the hass file in my file system, and it sits in /srv/homeassistant/bin, so I added that to the $PATH. I can now run "hass --script check_config" but it gives the message “Config does not exist: /home/myuser/.homeassistant/configuration.yaml”

OK I resolved it - I must have installed HA as the homeassistant user (thanks for the prompt flamingm0e!) - I can run hass --script using that user

It also sounds like it is set up as a virtualenv, so you need to source /srv/homeassistant/bin/activate and you can get the hass command

My homeassistant server seems to be running OK - why is that source command required?