Q:

How to install hadolint on Ubuntu

I am new to ubuntu and installed it 3 days ago.
I tried many steps as told in https://github.com/hadolint/hadolint/
But It still tells : 
hadolint: command not found
Refer to https://github.com/hadolint/hadolint/ for hadolint installation
I managed to install hadolint in windows but , can't install on linux

A:

This code works and installs the prebuilt binary file :
wget -O /bin/hadolint https://github.com/hadolint/hadolint/releases/download/v1.16.3/hadolint-Linux-x86_64
I didn't know these basic commands since I am new to Ubuntu

