check what version of ubuntu you have installed cmd line code example Example: check ubuntu version lsb_release -a