Linux 配置websocketd和路径变量

Linux 配置websocketd和路径变量,linux,websocket,Linux,Websocket,我正在尝试使用此项目,但第三步不起作用: 1-download the platform specific archive //done 2-extract files to folder of your choice or extract executable only // done 3-add the location of websocketd to your PATH variable 目前我有这个路径 /usr/local/sbin:/usr/local/bin:/usr/sbin

我正在尝试使用此项目,但第三步不起作用:

1-download the platform specific archive //done
2-extract files to folder of your choice or extract executable only // done
3-add the location of websocketd to your PATH variable
目前我有这个路径

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/www/cpu-stats/websocketd
但当我运行此代码时:

websocketd --help
我会得到:

bash: websocketd: command not found
websocketd位置

/var/www/cpu-stats/websocketd

有什么想法吗?

我认为您应该将文件夹/var/www/cpu stats添加到您的路径中,而不使用可执行文件名