Bash: vcgencmd: command not found

Hello again,

After some testing and installed my Raspi 2 works well.
I have read that it is possible to display the temperature via ssh.

But that does not work for me

root@osmc:/home/osmc# vcgencmd measure_temp
bash: vcgencmd: command not found
root@osmc:/home/osmc#

What´s wrong and how can i fixed it?

That’s quite strange. What is the output of this two commands.
which vcgencmd
ls -lah /opt/vc/bin/

root@passi-osmc:/home/osmc# which vcgencmd
root@passi-osmc:/home/osmc# ls -lah /opt/vc/bin/
total 1.2M
drwxrwxr-x 2 root root 4.0K Jan 1 1970 .
drwxr-xr-x 4 root root 4.0K Jan 1 1970 …
-rwxrwxr-x 1 root root 29K May 30 16:50 containers_check_frame_int
-rwxrwxr-x 1 root root 14K May 30 16:50 containers_datagram_receiver
-rwxrwxr-x 1 root root 14K May 30 16:50 containers_datagram_sender
-rwxrwxr-x 1 root root 14K May 30 16:50 containers_dump_pktfile
-rwxrwxr-x 1 root root 34K May 30 16:50 containers_rtp_decoder
-rwxrwxr-x 1 root root 19K May 30 16:50 containers_stream_client
-rwxrwxr-x 1 root root 17K May 30 16:50 containers_stream_server
-rwxrwxr-x 1 root root 42K May 30 16:50 containers_test
-rwxrwxr-x 1 root root 32K May 30 16:50 containers_test_bits
-rwxrwxr-x 1 root root 44K May 30 16:50 containers_test_uri
-rwxrwxr-x 1 root root 24K May 30 16:50 containers_uri_pipe
-rwxrwxr-x 1 root root 9.6K May 30 16:50 dtmerge
-rwxrwxr-x 1 root root 30K May 30 16:50 dtoverlay
-rwxrwxr-x 1 root root 222 May 30 16:50 dtoverlay-post
-rwxrwxr-x 1 root root 207 May 30 16:50 dtoverlay-pre
lrwxrwxrwx 1 root root 9 Jan 1 1970 dtparam -> dtoverlay
-rwxrwxr-x 1 root root 67K May 30 16:50 edidparser
-rwxrwxr-x 1 root root 24K May 30 16:50 mmal_vc_diag
-rwxrwxr-x 1 root root 114K May 30 16:50 raspistill
-rwxrwxr-x 1 root root 77K May 30 16:50 raspivid
-rwxrwxr-x 1 root root 63K May 30 16:50 raspividyuv
-rwxrwxr-x 1 root root 60K May 30 16:50 raspiyuv
-rwxrwxr-x 1 root root 62K May 30 16:50 tvservice
-rwxrwxr-x 1 root root 244K May 30 16:50 vcdbg
-rwxrwxr-x 1 root root 15K May 30 16:50 vcgencmd
-rwxrwxr-x 1 root root 68K May 30 16:50 vchiq_test
-rwxrwxr-x 1 root root 7.7K May 30 16:50 vcmailbox
-rwxrwxr-x 1 root root 15K May 30 16:50 vcsmem
root@passi-osmc:/home/osmc#

You seem to be logged in as root
I suspect vcgencmd will work just fine as the OSMC user

As @sam_nazarko wrote run vcgencmd as user osmc than it will be found by the path.
If you insist to run it as root (not necessary) use full path /opt/vc/bin/vcgencmd

Thx that´s work.