user user - 6 months ago 45
Linux Question

Can't run a file that exist

Can't run a file that exist. I am unsure why this is giving me an error.
At the moment I am trying to fix this issue However, I can't seem to get pass this step.

a@a-VirtualBox:~/.linuxbrew/Cellar/hadoop/2.7.3/libexec/sbin$ ls
a@a-VirtualBox:~/.linuxbrew/Cellar/hadoop/2.7.3/libexec/sbin$ start historyserver command not found
a@a-VirtualBox:~/.linuxbrew/Cellar/hadoop/2.7.3/libexec/sbin$ hdfs dfs start historyserver Unknown command


Maybe you should run this command like this:


or like this:


The second one cannot collide with another programs that could be in "/usr/bin" for example.