Doubt with path variable

In the second last line, when we are adding the path to the path variable, how do we know the path to the program, because the ‘which’ command will not return anything?

Hi @debdeepmitra

In a Linux-based operating system, the PATH environment variable specifies the directories where the system searches for executable programs.

In this case, to run obs-studio without specifying the full path, you need to add /opt/obs/bin — the directory containing the executable to your PATH. After updating the PATH, you can simply type obs-studio from any location in the terminal to launch it.

Hope this helps.